Skip to content

COMPILATION ERROR : package javax.annotation does not exist #1

@namsor

Description

@namsor

Maven compilation fails with COMPILATION ERROR : package javax.annotation does not exist

This can be worked around by adding the following dependency in pom.xml,

	<!-- https://mvnrepository.com/artifact/javax.annotation/javax.annotation-api -->
	<dependency>
		<groupId>javax.annotation</groupId>
		<artifactId>javax.annotation-api</artifactId>
		<version>1.3.2</version>
	</dependency>

Can this be resolved in the general case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions