468,268 Members | 1,653 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,268 developers. It's quick & easy.

Maven compilation error

19
hi,

I generated classes from a xsd schema with jaxb & did a program to xml reading & writing.Bt wn i cpomlile it through maven it saya that :-
annotations are not supported in -source 1.3
(use -source 5 or higher to enable annotations)
@XmlAccessorType(XmlAccessType.FIELD)

Bt i used java 6 which incorporates jaxb. Also my POMs r directing to java 6. Other java programs are compiling well,only this program gives error.

What cn be the issue?
Cn anyone please help????
Thanks in advance.
Dec 17 '08 #1
1 1736
r035198x
13,262 8TB
Your compilation settings using maven have the source level set to 1.3. I don't know what maven is so I can't say more.
Dec 17 '08 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by Byron Saltysiak | last post: by
1 post views Thread by BSand0764 | last post: by
reply views Thread by radhikams | last post: by
etiainen
3 posts views Thread by etiainen | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by kermitthefrogpy | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.