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:
>
>> 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
> 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 depend
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 r
> 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
>From what I could comprehend so far :
1. I made some changes in the pom.xml (indicated in Bold).
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
http://maven.apache.org/xsd/maven-4.0.0.xs
> 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 b
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:
http://maven.40175.n5.nabble.co
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
otations 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
> that I went
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 JA
AIL PROTECTED]> wrote:
>
> Hi all,
>
> I use Eclipse and the maven2 plugins to build project in Eclipse. I get an
> error as I run "mvn install":
>
> [code]
> ...
> D:\Temp\myproject\src\main\java\com\mycompany\Person.java:[41,1] annotations
> are not support
Hi all,
I use Eclipse and the maven2 plugins to build project in Eclipse. I get an
error as I run "mvn install":
[code]
...
D:\Temp\myproject\src\main\java\com\mycompany\Person.java:[41,1] annotations
are not supported in -source 1.3
(try -source 1.5 to enable annotations)
@XmlAc
1.5
1.5
Cheers
James
On Sun, 2008-06-29 at 17:16 -0700, buters wrote:
> Hi,
>
> I've executed junit tests with Maven and get such error:
> 'annotations are not supported in -source 1.3
>
> @Before'
Hi,
I've executed junit tests with Maven and get such error:
'annotations are not supported in -source 1.3
@Before'
Which source is meant here? How can I solve this?
Thanks beforehand,
regards, buters
--
View this message in context:
http://www.nabble.com/annotations-are-n
On Thu, September 13, 2007 3:24 pm, Kyle.Bober wrote:
>
>> I have been using Maven for quite sometime and this is the first JDK6
>> project
>> POM I have created. I am running into a compilation issue using the
>> compiler:compile goal... This is what I get
>>
>>
g the
compiler:compile goal... This is what I get
annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@WebService
I have my JAVA_HOME env variable set to point to JDK6 and I can compile the
java file fine using javac command but when I try using mvn comp
On 9/13/07, Wayne Fay <[EMAIL PROTECTED]> wrote:
> Not in Gmail, I don't. My sent mail gets added to the thread, but I
> don't get anything back... at least, I've never seen anything. Its
> possible that Gmail is doing something funky or hiding something from
> me.
>
> I see that both Anders and I
Not in Gmail, I don't. My sent mail gets added to the thread, but I
don't get anything back... at least, I've never seen anything. Its
possible that Gmail is doing something funky or hiding something from
me.
I see that both Anders and I are on Gmail, which is why I'm thinking
this might be the re
gmail doesn't register your own messages as 'new'. as such your own
first posts hardly get noticed in gmail, only when someone responds
they light up.
This is at least what I've learned over the years.
Martijn
On 9/13/07, Tim Kettler <[EMAIL PROTECTED]> wrote:
> So when you reply to a message on
So when you reply to a message on this list or start a new thread with
just a "To: Maven Users List " header, you don't
recieve the sent mail via the mailinglist? This is working for me.
-Tim
Wayne Fay schrieb:
That explains a lot. And now that you mention it, something happened
to me the first
That explains a lot. And now that you mention it, something happened
to me the first time I posted... a while back.
I wonder if we could perhaps ask (someone) about changing the
configuration of the mail list server, or something along those lines,
if this is what people are generally expecting.
13. september 2007 16:47
> To: Maven Users List
> Subject: Re: JDK6 compilation issue using Maven2 -
> annotations are not supported in -source 1.3
>
> Kyle, you sent this an hour ago and people responded to it.
> Why did you resend?
>
> I've noticed a few people sen
://www.nabble.com/JDK6-compilation-issue-using-Maven2---annotations-are-not-supported-in--source-1.3-tf4435690s177.html#a12655881
Sent from the Maven - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED
Kyle, you sent this an hour ago and people responded to it. Why did you resend?
I've noticed a few people sending the same message multiple times and
I'm curious why this happens.
Wayne
On 9/13/07, Graham Leggett <[EMAIL PROTECTED]> wrote:
> On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote:
On Thu, September 13, 2007 4:28 pm, Kyle.Bober wrote:
>
> org.apache.maven.plugins
> maven-compiler-plugin
>
> true
> true
> ${JAVA_HOME}/bin/javac
> 6
>
>
Add this:
1.5
1.5
Regards,
Grah
supported in -source 1.3
(use -source 5 or higher to enable annotations)
@WebService
I have my JAVA_HOME env variable set to point to JDK6 and I can compile the
java file fine using javac command but when I try using mvn compile I
receive the above error... I feel like a goof not being able to figure
On Thu, September 13, 2007 3:24 pm, Kyle.Bober wrote:
> I have been using Maven for quite sometime and this is the first JDK6
> project
> POM I have created. I am running into a compilation issue using the
> compiler:compile goal... This is what I get
>
> annotations are not su
piler:compile goal... This is what I get
>
> annotations are not supported in -source 1.3
> (use -source 5 or higher to enable annotations)
> @WebService
>
> I have my JAVA_HOME env variable set to point to JDK6 and I can compile the
> java file fine using javac command but when
I have been using Maven for quite sometime and this is the first JDK6 project
POM I have created. I am running into a compilation issue using the
compiler:compile goal... This is what I get
annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@WebService
Just for the reference:
http://jira.codehaus.org/browse/MCOMPILER-57
-Gisbert
Mathias P.W Nilsson wrote:
I get this error message when I run "mvn compile"
annotations are not supported in -source 1.3
(try -source 1.5 to enable annotations)
How is that? When I check "java
But I have? I've posted my pom and hibernate is in the dependency!
--
View this message in context:
http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4281106s177.html#a12187764
Sent from the Maven - Users mailing list archive at Nabbl
exist and every other package as well
> I see the javax.presistence in my M2_REPO variable in eclipse and can expand
> it but not compile. Life where easier with ant :,(
> --
> View this message in context:
> http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4
le in eclipse and can expand
it but not compile. Life where easier with ant :,(
--
View this message in context:
http://www.nabble.com/annotations-are-not-supported-in--source-1.3-tf4281106s177.html#a12186976
Sent from the Maven - Users mailing list archive at Nabbl
Google.com "maven compile source target"
Wayne
On 8/16/07, Mathias P.W Nilsson <[EMAIL PROTECTED]> wrote:
>
> I get this error message when I run "mvn compile"
>
> annotations are not supported in -source 1.3
> (try -source 1.5 to enable annotations)
>
I get this error message when I run "mvn compile"
annotations are not supported in -source 1.3
(try -source 1.5 to enable annotations)
How is that? When I check "java -version" I get
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build
36 matches
Mail list logo