I am now running Maven 3 . and the mvn compile is successful .
Hence It's got something to do with my lack of provisioning for Maven 2
However I am still getting another error when I tried to run the main
class with Derby(with your suggestion on persistence taken into account) .
I am
Wayne Fay wrote:
1. I made some changes in the pom.xml (indicated in Bold).
This list strips HTML and RTF so no one can see your bold text.
2. I ran mvn help:effective-pom and this is what I got
OK... but what happens (now) when you run mvn compile? I assume you
are running all of
I have uploaded my project file here in Rapishare
http://rapidshare.com/files/443396415/je.zip . If possible , pls Run it from
your Computer . May be the error detection will be easier then.
I downloaded your project and ran it. The only failure I encountered
was related to a missing
Wayne Fay wrote:
I have uploaded my project file here in Rapishare
http://rapidshare.com/files/443396415/je.zip . If possible , pls Run it
from
your Computer . May be the error detection will be easier then.
I downloaded your project and ran it. The only failure I encountered
was
From what I could comprehend so far :
1. I made some changes in the pom.xml (indicated in Bold).
project xmlns=http://maven.apache.org/POM/4.0.0;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://maven.apache.org/POM/4.0.0
1. I made some changes in the pom.xml (indicated in Bold).
This list strips HTML and RTF so no one can see your bold text.
2. I ran mvn help:effective-pom and this is what I got
OK... but what happens (now) when you run mvn compile? I assume you
are running all of this from the command line,
What does your Java home point to?
Do you have Java 1.3 installed somewhere?
Are you running Maven in an IDE?
If you type mvn -version what prints out.
Ron
On 16/01/2011 1:11 AM, ankured182 wrote:
Hi . I'm getting this Error annotations are not supported in -source 1.3
while trying to compile
Ron Thanks for the reply.
I'm not running it in any IDE . straight from the command shell.
No other Java versions running I guess, other than 1.6.0_22. and its Maven
2.2.1.
http://maven.40175.n5.nabble.com/file/n3343936/maven2.jpg
--
View this message in context:
I'm not running it in any IDE . straight from the command shell.
No other Java versions running I guess, other than 1.6.0_22. and its Maven
2.2.1.
Check what mvn help:effective-pom says when you run that from your
project directory. Perhaps there is another compiler configuration
that is being
Hi . I'm getting this Error annotations are not supported in -source 1.3
while trying to compile a Java EE project which has a simple entity that
uses JPA , from the root file je(which has the pom.xml) . I'm using MAven
2.2.1 . Its obvious that Maven not detecting the JAVA 6. In many forums
Possibly you need to move the compiler plugin configuration to
pluginManagement. Just take what you have (do remove the inherited element
though), but put it in pluginManagement.
/Anders
On Sun, Jan 16, 2011 at 07:11, ankured182 ankured...@yahoo.com wrote:
Hi . I'm getting this Error
11 matches
Mail list logo