spring - JBoss - Wildfly version -> NoSuchBeanDefinitionException -
i had lines of code in web.xml file in java- spring application , worked fine jboss7.1 , windows 7.
<context-param> <param-name>contextconfiglocation</param-name> <param-value> classpath*:my/package/name/datasourcebean.xml classpath*:my/package/name/mydaobeans.xml classpath*:my/package/name/service/myservicebeans.xml classpath*:/web-inf/mvc-dispatcher-servlet.xml </param-value>
jboss7.1 not work unter windows 10 - therefore had upgrade jboss wildfly version. , version following error @ start time:
cannot resolve reference bean 'mydaobean' while setting constructor argument; nested exception org.springframework.beans.factory.nosuchbeandefinitionexception: no bean named 'mydaobean' defined
i looked application in standalone folder of jboss wildfly , there no xml- config file. work spriing tool suite version 3.8.3.release. question why xml- config files not packaged?
[edit]
here picture of project - seems /src/main/resources looks different other classpath folders. know why?
Comments
Post a Comment