解决java.lang.IllegalArgumentException:的方法:
2010-09-10 11:14阅读:
1.使用Spring2.0配置事件管理,启动Tomcat报以下错误:
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException : Pointcut is not
well-formed: expecting 'name pattern' at character position
32
execution(*com.shopping.dao.*.*(..))
^
Caused by: java.lang.IllegalArgumentException : Pointcut is not
well-formed: expecting 'name pattern' at character position
32
execution(*com.shopping.dao.*.*(..))
严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException
execution(*com.shopping.dao.*.*(..))
Caused by: java.lang.IllegalArgumentException
execution(*com.shopping.dao.*.*(..))
