Dekker
Dekker

Reputation: 85

Java classes fails

I have a project that fails in one class, i think that the project cant find the classes. Help please, i dont know how to solve it. Why are happen this?

The type javax.ws.rs.ext.RuntimeDelegate$HeaderDelegate cannot be resolved. It is indirectly referenced from required .class files

It is failing in the declaration of the package.

Upvotes: 0

Views: 533

Answers (1)

Sachin
Sachin

Reputation: 394

Try adding the below dependency to your pom.xml -

<dependency>
    <groupId>javax.ws.rs</groupId>
    <artifactId>javax.ws.rs-api</artifactId>
    <version>2.0</version>
</dependency>

Upvotes: 2

Related Questions