Hello,
I work with a project who worked one month ago, I have download it again and now I can’t run it I have this error:
Error:java: invalid flag: -release
I show you my pom.xml in the file
I tried to change the part but nothing changes. I use Intellij Idea and Tomcat 8.0.38
I tried to launch this command too :
mvn vaadin:update-widgetset install
mvn org.apache.maven.plugins:maven-install-plugin:2.5:install-file -Dfile=nextui-0.5.jar
But I receive error :
[code]
[INFO]
Scanning for projects...
[ERROR]
[ERROR]
Some problems were encountered while processing the POMs:
[ERROR]
Malformed POM C:\Users\mflamant\Documents\Portal\pom.xml: expec
ted START_TAG or END_TAG not TEXT (position: TEXT seen ...<profiles>\r\n\t\t<profile>\r\n\t\t\t
Vaadin pre-release repositories\r\n\t\t\t<i... @262:6) @ C:\Users\mflamant\Documents\Portal\pom.xml, line 262, column 6
@
[ERROR]
The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]
The project com.portal:PORTAL:1.0-SNAPSHOT (C:\Users\mflamant\Documents
\Portal\pom.xml) has 1 error
[ERROR]
Malformed POM C:\Users\mflamant\Documents\Portal\pom.xml: e
xpected START_TAG or END_TAG not TEXT (position: TEXT seen ...<profiles>\r\n\t\t<profile>\r\n\t
\t\tVaadin pre-release repositories\r\n\t\t\t<i... @262:6) @ C:\Users\mflamant\Documents\Portal\pom.xml, line 262, column 6 -> [Help 2]
[ERROR]
[ERROR]
To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR]
Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR]
For more information about the errors and possible solutions, please read the following
articles:
[ERROR]
[Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR]
[Help 2]
http://cwiki.apache.org/confluence/display/MAVEN/ModelParseException
[/code]
The line 262 is:
vaadin-prerelease
So I don’t know how to resolve this error. Can you help me ?
Thank you.