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

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 Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

588 views 6 12
Read article

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