spring - java.lang.NoClassDefFoundError: Could not initialize class org.springframework.core.io.support.VfsPatternUtils -


as working on wildfly 8, getting error java.lang.noclassdeffounderror: not initialize class org.springframework.core.io.support.vfspatternutils

log:

{"jbas014671: failed services" => {"jboss.undertow.deployment.default-server.default-host./sample" => "org.jboss.msc.service.startexception in service jboss.undertow.deployment.default-server.default-host./sample: failed start service     caused by: java.lang.runtimeexception: org.springframework.beans.factory.beandefinitionstoreexception: unexpected exception parsing xml document servletcontext resource [/web-inf/applicationcontext.xml]; nested exception java.lang.noclassdeffounderror: not initialize class org.springframework.core.io.support.vfspatternutils     caused by: org.springframework.beans.factory.beandefinitionstoreexception: unexpected exception parsing xml document servletcontext resource [/web-inf/applicationcontext.xml]; nested exception java.lang.noclassdeffounderror: not initialize class org.springframework.core.io.support.vfspatternutils     caused by: java.lang.noclassdeffounderror: not initialize class org.springframework.core.io.support.vfspatternutils"}} 

this applicationcontext.xml file code:

<?xml version="1.0" encoding="utf-8"?> <beans xmlns="http://www.springframework.org/schema/beans"        xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"        xmlns:aop="http://www.springframework.org/schema/aop"        xmlns:c="http://www.springframework.org/schema/c"        xmlns:context="http://www.springframework.org/schema/context"        xmlns:flow="http://www.springframework.org/schema/webflow-config"`        xmlns:jee="http://www.springframework.org/schema/jee"        xmlns:jms="http://www.springframework.org/schema/jms"        xmlns:lang="http://www.springframework.org/schema/lang"        xmlns:osgi="http://www.springframework.org/schema/osgi"        xmlns:p="http://www.springframework.org/schema/p"        xmlns:tx="http://www.springframework.org/schema/tx"        xmlns:util="http://www.springframework.org/schema/util"         xsi:schemalocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-4.0.xsd           http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd           http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd           http://www.springframework.org/schema/webflow-config http://www.springframework.org/schema/webflow-config/spring-webflow-config-2.0.xsd           http://www.springframework.org/schema/jee http://www.springframework.org/schema/jee/spring-jee-4.0.xsd           http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms-4.0.xsd           http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-4.0.xsd           http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi-1.2.xsd           http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-4.0.xsd           http://www.springframework.org/schema/util http://www.springframework.org/schema/util/spring-util-4.0.xsd">     <context:annotation-config/>     <context:component-scan base-package="com.rss.master" use-default-filters="false">         <context:exclude-filter type="annotation" expression="org.springframework.stereotype.repository"/>     </context:component-scan>     <bean id="datasource" class="org.springframework.jdbc.datasource.drivermanagerdatasource">         <property name="driverclassname" value="oracle.jdbc.oracledriver"/>         <property name="url" value="jdbc:oracle:thin:@localhost:1521:xe"/>         <property name="username" value="rss"/>         <property name="password" value="12345"/>     </bean>     <bean id="sessionfactory" class="org.springframework.orm.hibernate3.localsessionfactorybean">         <property name="datasource">             <ref bean="datasource"/>         </property>         <property name="hibernateproperties">             <props>                 <prop key="hibernate.dialect">org.hibernate.dialect.oracledialect</prop>                 <prop key="hibernate.show_sql">true</prop>                 <prop key="hibernate.hbm2ddl.auto">update</prop>                 <prop key="format_sql">true</prop>             </props>         </property>         <property name="mappingresources">             <list>                 <value>hbm/exratemaster.hbm.xml</value>             </list>         </property>     </bean>     <bean id="exratemasterdao" class="com.rss.master.dao.impl.exratemasterdaoimpl">         <property name="sessionfactory" ref="sessionfactory"></property>     </bean>     <bean id="exratemasterbo" class="com.rss.master.bo.impl.exratemasterboimpl">         <property name="exratemasterdao" ref="exratemasterdao"/>     </bean> </beans> 


Comments

Popular posts from this blog

qt - Using float or double for own QML classes -

Create Outlook appointment via C# .Net -

ios - Swift Array Resetting Itself -