Unable to locate Spring NamespaceHandler for XML schema namespace Persistence.xml -


exception in thread "main" org.springframework.beans.factory.parsing.beandefinitionparsingexception: configuration problem: unable locate spring namespacehandler xml schema namespace [http://java.sun.com/xml/ns/persistence]

i error when trying run app, persistence.xml

any idea might have gone wrong?

<?xml version="1.0" encoding="utf-8" standalone="no"?>  <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"  	xsi:schemalocation="http://java.sun.com/xml/ns/persistence  	http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"  	version="1.0">    	  	<persistence-unit name="persistenceunit" transaction-type="resource_local">  		<provider>org.hibernate.ejb.hibernatepersistence</provider>  		<!-- <properties> -->  		<!-- <property name="hibernate.dialect" value="org.hibernate.dialect.oracle10gdialect"/> -->  		<!-- value="create" build new database on each run; value="update" modify existing database;   			value="create-drop" means same "create" drops tables when hibernate closes; value="validate"   			makes no changes database -->  		<!-- <property name="hibernate.hbm2ddl.auto" value="none"/> -->  		<!-- <property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.defaultnamingstrategy"/> -->  		<!-- <property name="hibernate.connection.charset" value="utf-8"/> -->  		<!-- <property name="hibernate.default_schema" value="ecl"/> -->  		<!-- <property name="hibernate.show_sql" value="true"/> -->  		<!-- uncomment following 2 properties jboss -->  		<!-- property name="hibernate.validator.apply_to_ddl" value="false" / -->  		<!-- property name="hibernate.validator.autoregister_listeners" value="false" / -->  		<!-- </properties> -->  	</persistence-unit>  </persistence>


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -