when i try to compile the artifact jar by setting viewer class as main class the build is failing with annotations error. please suggest if any new settings need inn intellij for the compilation to happen in osm2world app.
1 Like
Can you try the following?
-
Go to
View > Tool windows > Maven
-
In the
Maven
window, selectOSM2World > Lifecycle > install
-
click on
Run Maven Build
(The green arrow)
This should compile and package the JAR.
If you still get messages about annotations, you could also try this:
-
Go to
File > Settings > Build, Execution, Deployment > Build Tools > Maven > Importing
and enableAnnotations
underAutomatically download
-
Then right-click on the
pom.xml
in the source tree and chooseMaven > Reload project
from the context menu
1 Like