Forums Register Login

Getting Error while compiling

+Pie Number of slices to send: Send
Hi , I am new a maven. I created an web application using maven. When I try to compile I am getting following error in command prompt. I know that I need to make changes in pom.xml but not able to find a solution.

+Pie Number of slices to send: Send
pom.xml is below,
+Pie Number of slices to send: Send
Shiva,
What version of Java are you using to run Maven? This is probably the version of Java in your path so you can go to the command line and type "javac -version".

+Pie Number of slices to send: Send
Thanks for the reply Jeanne Boyarsky. I already changed the java version from 1.6 to 1.7 and it was working fine . but now when I say mvn package ,build is getting failure and getting 2 errors .

I tried deleting these 2 test files manually and tried ,but I am still getting the same errors
+Pie Number of slices to send: Send
Before I deleted wrong files. Now I deleted the 2 test files correctly ,its working fine .Thank you
Well don't expect me to do the dishes! This ad has been cleaned for your convenience:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1429 times.
Similar Threads
Eclipse Maven project: Unable to locate the Javac Compiler
my maven test fails after i do a mven clean from eclipse and try to build it again
Maven - "invalid target release" Error
Build problem with maven and eclipse web project
Running maven-compiler-plugin twice in one pom
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 07:43:48.