run on jetty ocurred configuration location bug?
opened this issue · comments
happend: Could not resolve bean definition resource pattern [/WEB-INF/classes/spring-*.xml]
changed /WEB-INF/classes/spring-*.xml to :
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:/spring-*.xml</param-value>
</context-param>
changed /WEB-INF/classes/servlet-context.xml to :
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:/servlet-context.xml</param-value>
</init-param>
and then ok.
Please run with plugin Jetty.
Run AS ------ Maven Build...
type goals as "jetty run".
Click "Apply" and Click "Run".