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

Jersey fails to build under JDK8 #2702

@glassfishrobot

Description

@glassfishrobot

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]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions