unable to follow instruction on SDK Development - RefApp

I am not able to follow the instruction on the documentation of Create a plugin Skeleton:

https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/create-a-plugin-skeleton

First I got the error of not able to resolve the version of 2.23.5. Then I see another thread related to that suggesting to change the pom file for refapp.version to 2.22.0 as the following because the repository only contains up to 2.22.0:

<properties>
<refapp.version>2.22.0</refapp.version>
<amps.version>5.0.13</amps.version>
<plugin.testrunner.version>1.2.3</plugin.testrunner.version>
</properties>

 

After the change, while the server got started, I am not able to access the website, I got a HTTP Status 404 page when I access: http://localhost:5990/refapp/. Any idea how to make the tutorial work for the latest? I am using jdk 1.7. Do I have to use jdk 1.6?

Thanks

2 answers

0 vote
Volodymyr Krupach Community Champion Feb 21, 2015

Was there message in console that refapp started:

[INFO] refapp started successfully in 46s at http://localhost:5990/refapp

Also please check if there any errors in log file. Be default it should be in 

${project.build.directory}/refapp.log

it showed [INFO] refapp started successfully in 46s at http://bchung:5990/refapp bchung is basically the localhost I cannot find any refapp.log anywhere under c:\atlasturtorial or c:\atlastutorial\adminUI

Hey Bryan

 

Try deleting "atlassian-plugin.xml" file  in src/test/ folder and try rebuilding the plugin.

src/test/resource/

I deleted the following directories following the documentation $ rm -rf src/test/java/ $ rm -rf src/test/resources/ and I restarted the atlas-run and still got the same error

when you do atlas-run, you should redirect the output to a file. like "atlas-run > log.txt" to capture the log then check log.txt for any "error"

if you get the bellow message then when you hit that url do you get 404? [INFO] refapp started successfully in 46s at http://bchung:5990/refapp

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,305 views 14 20
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot