Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jersey fails to build under JDK8 #2702

Closed
jerseyrobot opened this issue Feb 28, 2014 · 7 comments
Closed

Jersey fails to build under JDK8 #2702

jerseyrobot opened this issue Feb 28, 2014 · 7 comments

Comments

@jerseyrobot
Copy link
Contributor

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]

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
Reported by cowwoc

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
michalgajdos said:
Moving to 1.19.

@jerseyrobot
Copy link
Contributor Author

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

@jerseyrobot
Copy link
Contributor Author

@glassfishrobot Commented
@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.

@jerseyrobot
Copy link
Contributor Author

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

@jerseyrobot
Copy link
Contributor Author

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

@jerseyrobot
Copy link
Contributor Author

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

No branches or pull requests

1 participant