java - Error while executing maven project -


i create maven project

http error: 503 problem accessing /. reason: service_unavailable powered jetty://

i got following error

org.springframework.beans.factory.parsing.beandefinitionparsingexception: configuration problem: unable locate spring namespacehandler xml schema namespace [http://activemq.apache.org/schema/core] offending resource: servletcontext resource [/web-inf/spring/app-jpa-config.xml]

    @ org.springframework.beans.factory.parsing.failfastproblemreporter.error(failfastproblemreporter.java:68) 
<beans xmlns="http://www.springframework.org/schema/beans"     xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xmlns:p="http://www.springframework.org/schema/p"     xmlns:jms="http://www.springframework.org/schema/jms" xmlns:amq="http://activemq.apache.org/schema/core"     xmlns:context="http://www.springframework.org/schema/context" xmlns:tx="http://www.springframework.org/schema/tx"     xsi:schemalocation="         http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd         http://www.springframework.org/schema/jms http://www.springframework.org/schema/jms/spring-jms.xsd         http://activemq.apache.org/schema/core http://activemq.apache.org/schema/core/activemq-core.xsd         http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd         http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-3.0.xsd">      <!-- annotation scan -->     <context:component-scan base-package="com.myapp.entities.*" />     <bean id="validator"         class="org.springframework.validation.beanvalidation.localvalidatorfactorybean" />      <tx:annotation-driven transaction-manager="transactionmanager" />     <bean class="org.springframework.beans.factory.annotation.autowiredannotationbeanpostprocessor" />      <amq:broker id="broker" usejmx="false" persistent="false">         <amq:transportconnectors>             <amq:transportconnector uri="tcp://localhost:0" />         </amq:transportconnectors>     </amq:broker>          <bean id="datasource"         class="org.springframework.jdbc.datasource.drivermanagerdatasource">         <property name="driverclassname" value="org.postgresql.driver" />         <property name="url" value="jdbc:postgresql://127.0.0.1:5432/smart" />         <property name="username" value="" />         <property name="password" value="" />     </bean>      <bean id="hibernatetemplate" class="org.springframework.orm.hibernate3.hibernatetemplate">         <property name="sessionfactory" ref="sessionfactory" />         <property name="fetchsize" value="20" />         <property name="allowcreate" value="true" />         <property name="alwaysusenewsession" value="false" />     </bean>      <bean id="sessionfactory"         class="org.springframework.orm.hibernate3.annotation.annotationsessionfactorybean">         <property name="datasource">             <ref bean="datasource" />         </property>         <property name="hibernateproperties">             <props>                 <prop key="hibernate.dialect">org.hibernate.dialect.postgresqldialect</prop>                 <prop key="hibernate.show_sql">false</prop>                 <prop key="hibernate.format_sql">false</prop>                 <prop key="hibernate.hbm2ddl.auto">update</prop>                 <prop key="hibernate.connection.release_mode">after_transaction</prop>             </props>         </property>          <property name="packagestoscan">             <list>                 <value>com.myapp.entities</value>              </list>         </property>     </bean>     <bean id="transactionmanager"         class="org.springframework.orm.hibernate3.hibernatetransactionmanager">         <property name="sessionfactory" ref="sessionfactory" />         <property name="datasource" ref="datasource" />     </bean>  </beans> 


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -