It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Simple Refapp not running, says the requested resource() is not available

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.


2 answers

1 accepted

3 votes
Answer accepted

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.

Updated to 5.0.4 and that's not a solution for me. Any issues lately? Thanks

Thanks for your help. Errors go out.

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.

Thank you very much. Removing /src/test/resources/atlassian-plugin.xml fixed the problem

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted yesterday in United States

Atlassian Government Symposium

Good day members, Not sure if you are aware that Atlassian will be hosting a Government Symposium on May 1st, 2019 in Washington DC. For more details please click here If you have any questions...

18 views 0 0
View post

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you