Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Jersey fails to build under JDK8 #2702

Closed
glassfishrobot opened this issue Feb 28, 2014 · 6 comments
Closed

Jersey fails to build under JDK8 #2702

glassfishrobot opened this issue Feb 28, 2014 · 6 comments

Comments

@glassfishrobot
Copy link

The following error only occurs when building under JDK8, not JDK7.

Scanning for projects...
The build could not read 1 project -> [Help 1]

  The project com.sun.jersey.samples:spring-annotations:1.18.1 (C:\Users\Gili\Documents\jersey1\samples\spring-annotations\pom.xml) has 2 errors
    'dependencies.dependency.version' for org.aspectj:aspectjrt:jar must be a valid version but is '${aspectjrt.version}'. @ line 114, column 22
    'dependencies.dependency.version' for org.aspectj:aspectjweaver:jar must be a valid version but is '${aspectjrt.version}'. @ line 120, column 22

To fix this, you need to edit pom.xml in the spring-annotations project and add profile activation for JDK8 (currently only JDK6 and JDK7 are listed).

Affected Versions

[1.18]

@glassfishrobot
Copy link
Author

Reported by cowwoc

@glassfishrobot
Copy link
Author

michalgajdos said:
Moving to 1.19.

@glassfishrobot
Copy link
Author

cowwoc said:
See javaee/jersey-1.x#12 for a push request.

@glassfishrobot
Copy link
Author

@mpotociar said:
Jersey 1.x branch is not under active development anymore. Only security issues and issues reported by the customers of commercially supported products that ship with Jersey are fixed on this code base right now.
Please, move your code to Jersey 2.x and if you still see the issue there, feel free to file a bug against Jersey 2.x.

@glassfishrobot
Copy link
Author

Marked as complete on Tuesday, September 1st 2015, 5:28:34 am

@glassfishrobot
Copy link
Author

This issue was imported from java.net JIRA JERSEY-2430

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants