-
Notifications
You must be signed in to change notification settings - Fork 369
Description
When I tried to follow the instructions for creating a sample project at https://eclipse-ee4j.github.io/jersey.github.io/documentation/latest/getting-started.html, I get a NullPointerException:
mkdir JerseyExample2
cd JerseyExample2
mvn archetype:generate -DarchetypeArtifactId=jersey-quickstart-grizzly2 -DarchetypeGroupId=org.glassfish.jersey.archetypes -DinteractiveMode=false -DgroupId=com.example -DartifactId=simple-service -Dpackage=com.example -DarchetypeVersion=2.39
cd simple-service/
mvn clean test
T E S T S
Running com.example.MyResourceTest
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.005 sec <<< FAILURE!
com.example.MyResourceTest.testGetIt() Time elapsed: 0.004 sec <<< FAILURE!
java.lang.NullPointerException
at com.example.MyResourceTest.testGetIt(MyResourceTest.java:45)