Reputation: 61
I just finished a program "Maven java project". I am using Jersey library/.
I need to compile and run my program in java 1.4.
I am changing the compliance to 1.4 in Eclipse.
plus adapting the pom.xml
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.8</source>
<target>1.4</target>
</configuration>
</plugin>
</plugins>
Now I am getting errors concerning certain classes:
Any help would be much appreciated!!!
Upvotes: 0
Views: 101
Reputation: 151
Jersey is not compatible with Java 1.4. Neither is the <> syntax. You really should at least use java 1.6.
Upvotes: 1