Hi I am creating a simple empty refapp skeleton by following the link:
https://developer.atlassian.com/display/DOCS/Create+a+plugin+skeleton#Createapluginskeleton-GetintroducedtoRefApp
Im creating a directory and then calling:
atlas-create-refapp-plugin
After entering the values:
<th>com.atlassian.plugins.tutorial.refapp |
adminUI |
1.0-SNAPSHOT |
com.atlassian.plugins.tutorial.refapp |
I am going to the directory and doing:
atlas-run
However I get a couple of ERRORS, the first one being:
SEVERE: Exception sending context initialized even
t to listener instance of class com.atlassian.plugin.refimpl.InitListener
[INFO] [talledLocalContainer] java.lang.IllegalArgumentException: The plugin key
'${project.groupId}.${project.artifactId}-tests' must either match the OSGi bun
dle symbolic name (Bundle-SymbolicName) or be specified in the Atlassian-Plugin-
Key manifest header
Though at the end of executing the command I get:
refapp started successfully in 45s at http://<address>:2300/refapp
When I go the url it says:
HTTP Status 404-
description The requested resource() is not available
No other service is using the port before.
I remember being able to follow the above link tutorial and run the refapp before. There is not much to it, however not sure why I am getting this error.
Community moderators have prevented the ability to post new answers.
I am saving someone A LOT LOT LOT of trouble.
After trying all possible ways, I did an atlas-update command.
My previous version was 4.2.13
My new version is: 4.2.20
The update resolved the error.
Seems to me lot of mysterious issues pop up when doing development on jira products/plugins and the documents dont always cover them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I too ran into this working on the "AUI add an add on tutorial" (https://developer.atlassian.com/display/AUI/Use+AUI+in+an+Add-on) and just a week before it seemed to work fine on a similar but different local project. Makes you think you're going nuts!
After running the update as suggested above I still got the same output as posted by Samurai Sushi. Picking through the other errors listed I came upon this thread (https://answers.atlassian.com/questions/181362/the-plugin-key-project-groupid-project-artifactid-tests-must-either-match-the-osgi-bundle-symbolic-name-bundle-symbolicname-or-be-specified-in-the-atlassian-plugin-key-manifest-header) which avoids the SDK building and then trying to load the test.jar altogether. Anyway, as it states I renamed /src/test/resources/atlassian-plugin.xml, ran mvn clean, and then atlas-run completed without all the SEVERE and ERROR output and the url to http://localhost:5990/refappresolved correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much. Removing /src/test/resources/atlassian-plugin.xml fixed the problem
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.