|Java-Version of WAR product [message #929099]
||Mon, 01 October 2012 08:10
Registered: September 2011
I've got a problem concerning the creation of a WAR. I created it using a warproduct-file, but when I deploy it, I get the following message:
java.lang.Error: Unresolved compilation problem:
'<>' operator is not allowed for source level below 1.7
I took a look at the class-file with the error, and instead of compiled code it just contains the stack trace of above exception. Then I checked the plug-in in question: Both the build path and the manifest state it's a Java 7 project.
So my question is: Why would the WAR product export wizard assume the project to be anything other than a Java 7 project? How do I change it? And is there a way to tell the export wizard to just show an error message and stop exporting when a error like this happens, instead of ignoring it?
Thanks in advance,
Powered by FUDForum
. Page generated in 0.03664 seconds