unable to follow instruction on SDK Development - RefApp

Bryan Chung February 21, 2015

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 votes
Sharath T S February 22, 2015

Hey Bryan

 

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

Sharath T S February 22, 2015

src/test/resource/

Bryan Chung February 23, 2015

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

Sharath T S February 23, 2015

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"

Sharath T S February 23, 2015

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

0 votes
Volodymyr Krupach
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 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
Bryan Chung February 23, 2015

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

Suggest an answer

Log in or Sign up to answer