About XML

161-170 of 200Refresh
Forum
2

Eclipse - Maven - Dependencies not getting automatically reflected

. I am able to create a Maven project but when trying to add Dependencies (select pom.xml ... (http://repo.maven.apache.org/maven2). In case, if I manually put required artifcatID in pom.xml ... .xml) Can you please advise, what setting I need to do so that inputted artifact's can be added using
Forum
2

Eclipse4 RCP - No Persistence provider for EntityManager

with JPA included. I have another question regarding the persistence.xml. I put it in my /META-INF ... an EntityManager) it may be because resources that are needed by createEntityManagerFactory (e.g. persistence.xml ... and all works like a charm! Persistence.xml is now found and ClassLoader problems are gone... thats a suitable solution for now! paddy
Forum
2

InternalError on multiple AND and JOIN Query

.qos.logback.classic.LoggerContext[default] - Could NOT find resource [logback-test.xml] 09:30:08,687 |-INFO in ch.qos.logback.classic.LoggerContext[default] - Found resource [logback.xml] at [file:/home/pedwards/CONTEXTSPACE_workarea/objectdb_example/target/test-classes/logback.xml] 09:30:08,827
Forum
2

Log4j error

] log4j:ERROR A "org.apache.log4j.xml.DOMConfigurator" object is not assignable to a "org.apache.log4j ... ] log4j:ERROR "org.apache.log4j.xml.DOMConfigurator" was loaded by [sun.misc.Launcher$AppClassLoader@d9f9c3].      [java] log4j:ERROR Could not instantiate configurator [org.apache.log4j.xml
Forum
2

Maven and multiple JARs

, as the persistence.xml in the dependee modules can't know what jar files will become available ... different persistence.xml (one for CoreEnt and one for SpecEnt) in the final build does not work (they clash giving deployment errors). Clumsy workaround is to not have 2 persistence.xml
Forum
2

Mismatch client-server protocol prefix

addition we converted our Spring configuration from xml to configuration classes ... on an older revision with XML configuration. We haven't had the XML counterpart of @EnableSpringConfigured
Forum
2

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

/xml/sax/InputSource" at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java ... :348) at org.apache.logging.log4j.core.config.xml.XmlConfiguration.(XmlConfiguration.java:97) In the build.xml Ant script for the post-compile enhancement the class path is: javac.classpath:lib
Forum
2

Spring 2.5 LocalContainerEntityManagerFactoryBean, no getSharedCacheMode()

name="persistenceXmlLocation" value="com/company/persistence.xml"/> Here is the stack ... LocalEntityManagerFactory due to the constraints of my test setup and difficulty in placing persistence.xml ... a Spring-wired LocalEntityManagerFactoryBean with a jar/META-INF/persistence.xml works fine
Forum
2

Spring LTW Problem

time weaving. (To get Jrebel working properly) So i added  xml version="1.0" encoding="UTF-8 ... "     useSystemClassLoaderAsParent="false" /> To my context.xml and to my spring ... .java:722) If i don't want AspectJ to weave some class i can restrict it in aop.xml. Maybe
Forum
2

Spring MVC Errors

.mojo:exec-maven-plugin:1.2:java (execution: enhance, phase: process-classes) pom.xml /Guestbook ... still get error in Eclipse that points to pom.xml part (execution line): org ... ) pom.xml /mces line 88 Maven Project Build Lifecycle Mapping Problem   2.) What is more I