Refapp plugin problem in tutorial

Zawistowski Grzegorz November 27, 2015

I doing this tutorial

https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/run-your-plugin-in-the-container

, and when I do command:

atlas-run --product jira --version 6.1

I get this error after run JIRA Virtual Machine, please help:

JIRA Startup Failed.png

The errors is:

[INFO] [talledLocalContainer]         It was loaded from C:\atlastutorial\adminUI1\target\jira\home\plugins\.bundled-plugins\streams-jira-inline-actions-plugin-5.3.9.jar

[INFO] [talledLocalContainer]

[INFO] [talledLocalContainer]     'com.atlassian.jira.jira-application-properties-plugin' - 'Atlassian JIRA - Plugins - Application Properties'  failed to load.

[INFO] [talledLocalContainer]         The plugin has been disabled.  A likely cause is that it timed out during initialisation

[INFO] [talledLocalContainer]

[INFO] [talledLocalContainer]         It was loaded from C:\atlastutorial\adminUI1\target\jira\home\plugins\.bundled-plugins\jira-application-properties-plugin-6.1.jar

[INFO] [talledLocalContainer]

[INFO] [talledLocalContainer] ********************************************************************************************************************************************************************************************************

[INFO] [talledLocalContainer]

[INFO] [talledLocalContainer] lis 27, 2015 1:03:42 PM org.apache.catalina.core.ApplicationContext log

[INFO] [talledLocalContainer] INFO: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)

[INFO] [talledLocalContainer] 2015-11-27 13:03:42,435 localhost-startStop-1 ERROR      [jira.web.dispatcher.JiraWebworkActionDispatcher]

[INFO] [talledLocalContainer]

[INFO] [talledLocalContainer] ******************************************

[INFO] [talledLocalContainer] JIRA startup failed, JIRA has been locked.

[INFO] [talledLocalContainer] ******************************************

5 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Avinash Gautam January 23, 2018

Hi All,

 

The above solution will work. You can do as below:

 

If you are facing the error. then run from adminUI directory:

 

1. $ atlas-clean

 

After the build success run below command:

 

2. $ atlas-run --product jira --version 7.1.9

 

This will solve issue as the JIRA 7.x.x takes JAVA 8. Please make sure default JAVA version is pointing to JDK 1.8.X

 

Thanks!

0 votes
Joseph DeLisle July 13, 2017

I am having the Same problem.

0 votes
anuj__sharma July 6, 2016

@Nic Brough [Adaptavist] 
following the tutorial https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/run-your-plugin-in-the-container

JIRA was working fine on my local machine but after running refapp when i tried to re-ran JIRA
using command 'atlas-run --product jira --version 6.1' it gave the error "JIRA has been locked'

Please suggest a solution or a workaround to fix this.

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 6, 2016
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 6, 2016

So have you worked your way through the link I gave?

anuj__sharma July 7, 2016

@Nic Brough [Adaptavist]
i am able to run JIRA using command 

atlas-run-standalone

 

but when i run atlas-run --product jira --version 6.1

it is giving error

workaround that i have tried:

  1. deleting lock file
  2.  deleting .plugins folder
  3. didn't found the file setenv.bat , so can't increase memoru allocation and plugin timeout.
  4. disabled the antivirus
  5. JIRA is running fine with command 

    atlas-run-standalone

    also atlas-version is working fine, so i think jdk 8 is compatible with sdk 6.
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 7, 2016

Ah, I'm sorry, I didn't notice the 6.1 flag.

You are indeed running the wrong version of Java.  It's not the SDK that is the problem, it'll work with Java 8.  But you're running a version of JIRA that only works with Java 7.  You'll need to fix that to get any further.

anuj__sharma July 7, 2016

Thanks for your quick reply 


what version of jdk should i use for sdk 6?

is this the reason why i am getting 'JIRA locked' error.

 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 7, 2016

It's not the SDK that is the problem - see my previous comment for why (and a version)

anuj__sharma July 7, 2016

@Nic Brough [Adaptavist]
i used jdk 7 and ran the command 

atlas-run --product jira --version 6.1

 

i got the following error :-

 

 


C:\atlas tutorial\adminUI>atlas-run --product jira --version 6.1
Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.6\apache-maven-3.2.1\bin\mvn.bat" com.atlassian.maven.plugins:maven-amps-dispatcher-plu
gin:"6.2.4":run -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.6\apache-maven-3.2.1/conf/settings.xml -Dproduct=jira -Dproduct.version=6.1
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building adminUI 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> maven-amps-dispatcher-plugin:6.2.4:run (default-cli) > package @ adminUI >>>
[INFO]
[INFO] --- maven-refapp-plugin:6.2.4:compress-resources (default-compress-resources) @ adminUI ---
[WARNING] Error injecting: com.atlassian.maven.plugins.refapp.RefappCompressResourcesMojo
java.lang.TypeNotPresentException: Type com.atlassian.maven.plugins.refapp.RefappCompressResourcesMojo not present
at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:115)
at org.eclipse.sisu.space.NamedClass.load(NamedClass.java:46)
at org.eclipse.sisu.space.AbstractDeferredClass.get(AbstractDeferredClass.java:48)
at com.google.inject.internal.ProviderInternalFactory.provision(ProviderInternalFactory.java:86)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.provision(InternalFactoryToInitializableAdapter.java:54)
at com.google.inject.internal.ProviderInternalFactory$1.call(ProviderInternalFactory.java:70)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:113)
at org.eclipse.sisu.bean.BeanScheduler$Activator.onProvision(BeanScheduler.java:176)
at com.google.inject.internal.ProvisionListenerStackCallback$Provision.provision(ProvisionListenerStackCallback.java:122)
at com.google.inject.internal.ProvisionListenerStackCallback.provision(ProvisionListenerStackCallback.java:68)
at com.google.inject.internal.ProviderInternalFactory.circularGet(ProviderInternalFactory.java:68)
at com.google.inject.internal.InternalFactoryToInitializableAdapter.get(InternalFactoryToInitializableAdapter.java:46)
at com.google.inject.internal.InjectorImpl$2$1.call(InjectorImpl.java:1009)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1059)
at com.google.inject.internal.InjectorImpl$2.get(InjectorImpl.java:1005)
at com.google.inject.Scopes$1$1.get(Scopes.java:59)
at org.eclipse.sisu.inject.LazyBeanEntry.getValue(LazyBeanEntry.java:82)
at org.eclipse.sisu.plexus.LazyPlexusBean.getValue(LazyPlexusBean.java:51)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:263)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:255)
at org.apache.maven.plugin.internal.DefaultMavenPluginManager.getConfiguredMojo(DefaultMavenPluginManager.java:464)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:119)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:355)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:155)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:584)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:216)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:160)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.lang.UnsupportedClassVersionError: com/atlassian/maven/plugins/refapp/RefappCompressResourcesMojo : Unsupported major.minor version 52
.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:800)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)
at java.net.URLClassLoader.access$100(URLClassLoader.java:71)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401)
at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42)
at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
at org.eclipse.sisu.space.URLClassSpace.loadClass(URLClassSpace.java:107)
... 45 more
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.543 s
[INFO] Finished at: 2016-07-08T11:27:07+05:30
[INFO] Final Memory: 18M/225M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.atlassian.maven.plugins:maven-refapp-plugin:6.2.4:compress-resources (default-compress-resources) on project adminU
I: Execution default-compress-resources of goal com.atlassian.maven.plugins:maven-refapp-plugin:6.2.4:compress-resources failed: Unable to load the mo
jo 'compress-resources' in the plugin 'com.atlassian.maven.plugins:maven-refapp-plugin:6.2.4' due to an API incompatibility: org.codehaus.plexus.compo
nent.repository.exception.ComponentLookupException: com/atlassian/maven/plugins/refapp/RefappCompressResourcesMojo : Unsupported major.minor version 5
2.0
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>com.atlassian.maven.plugins:maven-refapp-plugin:6.2.4
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/maven/plugins/maven-refapp-plugin/6.2.4/maven-refapp-plugin-6.2.4.jar
[ERROR] urls[1] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/maven/plugins/maven-amps-plugin/6.2.4/maven-amps-plugin-6.2.4.jar
[ERROR] urls[2] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/core/atlassian-core/4.0/atlassian-core-4.0.jar
[ERROR] urls[3] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/profiling/atlassian-profiling/1.3/atlassian-profiling-1.3.jar
[ERROR] urls[4] = file:/d:/Profiles/anujsharma/.m2/repository/javax/servlet/servlet-api/2.3/servlet-api-2.3.jar
[ERROR] urls[5] = file:/d:/Profiles/anujsharma/.m2/repository/p6spy/p6spy/1.3/p6spy-1.3.jar
[ERROR] urls[6] = file:/d:/Profiles/anujsharma/.m2/repository/commons-collections/commons-collections/3.1/commons-collections-3.1.jar
[ERROR] urls[7] = file:/d:/Profiles/anujsharma/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
[ERROR] urls[8] = file:/d:/Profiles/anujsharma/.m2/repository/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.jar
[ERROR] urls[9] = file:/d:/Profiles/anujsharma/.m2/repository/osuser/osuser/1.0-dev-log4j-1.4jdk-7Dec05/osuser-1.0-dev-log4j-1.4jdk-7Dec05.jar
[ERROR] urls[10] = file:/d:/Profiles/anujsharma/.m2/repository/opensymphony/propertyset/1.3-21Nov03/propertyset-1.3-21Nov03.jar
[ERROR] urls[11] = file:/d:/Profiles/anujsharma/.m2/repository/opensymphony/sitemesh/2.3/sitemesh-2.3.jar
[ERROR] urls[12] = file:/d:/Profiles/anujsharma/.m2/repository/dom4j/dom4j/1.4/dom4j-1.4.jar
[ERROR] urls[13] = file:/d:/Profiles/anujsharma/.m2/repository/jaxen/jaxen/1.0-FCS/jaxen-1.0-FCS.jar
[ERROR] urls[14] = file:/d:/Profiles/anujsharma/.m2/repository/saxpath/saxpath/1.0-FCS/saxpath-1.0-FCS.jar
[ERROR] urls[15] = file:/d:/Profiles/anujsharma/.m2/repository/msv/msv/20020414/msv-20020414.jar
[ERROR] urls[16] = file:/d:/Profiles/anujsharma/.m2/repository/relaxngDatatype/relaxngDatatype/20020414/relaxngDatatype-20020414.jar
[ERROR] urls[17] = file:/d:/Profiles/anujsharma/.m2/repository/isorelax/isorelax/20020414/isorelax-20020414.jar
[ERROR] urls[18] = file:/d:/Profiles/anujsharma/.m2/repository/opensymphony/oscore/2.2.7/oscore-2.2.7.jar
[ERROR] urls[19] = file:/d:/Profiles/anujsharma/.m2/repository/log4j/log4j/1.2.7/log4j-1.2.7.jar
[ERROR] urls[20] = file:/d:/Profiles/anujsharma/.m2/repository/javax/mail/mail/1.4/mail-1.4.jar
[ERROR] urls[21] = file:/d:/Profiles/anujsharma/.m2/repository/javax/activation/activation/1.1/activation-1.1.jar
[ERROR] urls[22] = file:/d:/Profiles/anujsharma/.m2/repository/mockobjects/alt-jdk1.3/0.07/alt-jdk1.3-0.07.jar
[ERROR] urls[23] = file:/d:/Profiles/anujsharma/.m2/repository/oscache/oscache/DEV/oscache-DEV.jar
[ERROR] urls[24] = file:/d:/Profiles/anujsharma/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
[ERROR] urls[25] = file:/d:/Profiles/anujsharma/.m2/repository/biz/aQute/bnd/biz.aQute.bndlib/2.4.1-pr-916-atlassian-002/biz.aQute.bndlib-2.4.1-pr-916
-atlassian-002.jar
[ERROR] urls[26] = file:/d:/Profiles/anujsharma/.m2/repository/junit/junit/4.12/junit-4.12.jar
[ERROR] urls[27] = file:/d:/Profiles/anujsharma/.m2/repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar
[ERROR] urls[28] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/ant/ant/1.7.1/ant-1.7.1.jar
[ERROR] urls[29] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/ant/ant-launcher/1.7.1/ant-launcher-1.7.1.jar
[ERROR] urls[30] = file:/d:/Profiles/anujsharma/.m2/repository/org/eclipse/aether/aether-util/0.9.0.M2/aether-util-0.9.0.M2.jar
[ERROR] urls[31] = file:/d:/Profiles/anujsharma/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[32] = file:/d:/Profiles/anujsharma/.m2/repository/javax/annotation/jsr250-api/1.0/jsr250-api-1.0.jar
[ERROR] urls[33] = file:/d:/Profiles/anujsharma/.m2/repository/javax/inject/javax.inject/1/javax.inject-1.jar
[ERROR] urls[34] = file:/d:/Profiles/anujsharma/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
[ERROR] urls[35] = file:/d:/Profiles/anujsharma/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[36] = file:/d:/Profiles/anujsharma/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.0.0.M5/org.eclipse.sisu.inject-0.0.0.M5.jar
[ERROR] urls[37] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.19/plexus-interpolation-1.19.jar
[ERROR] urls[38] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5
.5.jar
[ERROR] urls[39] = file:/d:/Profiles/anujsharma/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[40] = file:/d:/Profiles/anujsharma/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[41] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.15/plexus-utils-3.0.15.jar
[ERROR] urls[42] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/plexus/plexus-archiver/1.0-alpha-9/plexus-archiver-1.0-alpha-9.jar
[ERROR] urls[43] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/plexus/plexus-io/1.0-alpha-1/plexus-io-1.0-alpha-1.jar
[ERROR] urls[44] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/maven/maven-archiver/2.3/maven-archiver-2.3.jar
[ERROR] urls[45] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar
[ERROR] urls[46] = file:/d:/Profiles/anujsharma/.m2/repository/org/tukaani/xz/1.0/xz-1.0.jar
[ERROR] urls[47] = file:/d:/Profiles/anujsharma/.m2/repository/commons-validator/commons-validator/1.2.0/commons-validator-1.2.0.jar
[ERROR] urls[48] = file:/d:/Profiles/anujsharma/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
[ERROR] urls[49] = file:/d:/Profiles/anujsharma/.m2/repository/commons-digester/commons-digester/1.6/commons-digester-1.6.jar
[ERROR] urls[50] = file:/d:/Profiles/anujsharma/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
[ERROR] urls[51] = file:/d:/Profiles/anujsharma/.m2/repository/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar
[ERROR] urls[52] = file:/d:/Profiles/anujsharma/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
[ERROR] urls[53] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/amps/plugin-module-codegen-maven-client/6.2.4/plugin-module-codegen-maven
-client-6.2.4.jar
[ERROR] urls[54] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/amps/plugin-module-codegen-engine/6.2.4/plugin-module-codegen-engine-6.2.
4.jar
[ERROR] urls[55] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/amps/plugin-module-codegen-api/6.2.4/plugin-module-codegen-api-6.2.4.jar
[ERROR] urls[56] = file:/d:/Profiles/anujsharma/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar
[ERROR] urls[57] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/fugue/fugue/1.0/fugue-1.0.jar
[ERROR] urls[58] = file:/d:/Profiles/anujsharma/.m2/repository/com/googlecode/guava-osgi/guava-osgi/10.0.1/guava-osgi-10.0.1.jar
[ERROR] urls[59] = file:/d:/Profiles/anujsharma/.m2/repository/jline/jline/0.9.94/jline-0.9.94.jar
[ERROR] urls[60] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-4/plexus-interactivity-api-1.0-a
lpha-4.jar
[ERROR] urls[61] = file:/d:/Profiles/anujsharma/.m2/repository/plexus/plexus-utils/1.0.2/plexus-utils-1.0.2.jar
[ERROR] urls[62] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/maven/archetypes/refapp-plugin-archetype/6.2.4/refapp-plugin-archetype-6.
2.4.jar
[ERROR] urls[63] = file:/d:/Profiles/anujsharma/.m2/repository/com/dmurph/JGoogleAnalyticsTracker/1.2.1-atlassian/JGoogleAnalyticsTracker-1.2.1-atlass
ian.jar
[ERROR] urls[64] = file:/d:/Profiles/anujsharma/.m2/repository/org/slf4j/slf4j-nop/1.6.2/slf4j-nop-1.6.2.jar
[ERROR] urls[65] = file:/d:/Profiles/anujsharma/.m2/repository/org/slf4j/slf4j-api/1.6.2/slf4j-api-1.6.2.jar
[ERROR] urls[66] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar
[ERROR] urls[67] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar
[ERROR] urls[68] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/amps/standalone/6.2.4/standalone-6.2.4.pom
[ERROR] urls[69] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/plugins/atlassian-plugins-osgi-testrunner/1.2.3/atlassian-plugins-osgi-te
strunner-1.2.3.jar
[ERROR] urls[70] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/wink/wink-client/1.1.3-incubating/wink-client-1.1.3-incubating.jar
[ERROR] urls[71] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/wink/wink-common/1.1.3-incubating/wink-common-1.1.3-incubating.jar
[ERROR] urls[72] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/geronimo/specs/geronimo-annotation_1.1_spec/1.0/geronimo-annotation_1.1_spec
-1.0.jar
[ERROR] urls[73] = file:/d:/Profiles/anujsharma/.m2/repository/javax/xml/bind/jaxb-api/2.2/jaxb-api-2.2.jar
[ERROR] urls[74] = file:/d:/Profiles/anujsharma/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar
[ERROR] urls[75] = file:/d:/Profiles/anujsharma/.m2/repository/com/sun/xml/bind/jaxb-impl/2.2.1.1/jaxb-impl-2.2.1.1.jar
[ERROR] urls[76] = file:/d:/Profiles/anujsharma/.m2/repository/com/google/code/gson/gson/2.2.2-atlassian-1/gson-2.2.2-atlassian-1.jar
[ERROR] urls[77] = file:/d:/Profiles/anujsharma/.m2/repository/com/atlassian/upm/upm-api/2.15/upm-api-2.15.jar
[ERROR] urls[78] = file:/d:/Profiles/anujsharma/.m2/repository/javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar
[ERROR] urls[79] = file:/d:/Profiles/anujsharma/.m2/repository/com/google/javascript/closure-compiler/rr2079.1/closure-compiler-rr2079.1.jar
[ERROR] urls[80] = file:/d:/Profiles/anujsharma/.m2/repository/args4j/args4j/2.0.12/args4j-2.0.12.jar
[ERROR] urls[81] = file:/d:/Profiles/anujsharma/.m2/repository/com/google/guava/guava/10.0.1/guava-10.0.1.jar
[ERROR] urls[82] = file:/d:/Profiles/anujsharma/.m2/repository/com/google/protobuf/protobuf-java/2.4.1/protobuf-java-2.4.1.jar
[ERROR] urls[83] = file:/d:/Profiles/anujsharma/.m2/repository/org/json/json/20090211/json-20090211.jar
[ERROR] urls[84] = file:/d:/Profiles/anujsharma/.m2/repository/com/google/code/findbugs/jsr305/1.3.9/jsr305-1.3.9.jar
[ERROR] urls[85] = file:/d:/Profiles/anujsharma/.m2/repository/com/googlecode/jarjar/jarjar/1.1/jarjar-1.1.jar
[ERROR] urls[86] = file:/d:/Profiles/anujsharma/.m2/repository/com/yahoo/platform/yui/yuicompressor/2.4.7/yuicompressor-2.4.7.jar
[ERROR] urls[87] = file:/d:/Profiles/anujsharma/.m2/repository/rhino/js/1.6R7/js-1.6R7.jar
[ERROR] urls[88] = file:/d:/Profiles/anujsharma/.m2/repository/commons-codec/commons-codec/1.6/commons-codec-1.6.jar
[ERROR] urls[89] = file:/d:/Profiles/anujsharma/.m2/repository/com/googlecode/htmlcompressor/htmlcompressor/1.4/htmlcompressor-1.4.jar
[ERROR] urls[90] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/wink/wink-client-apache-httpclient/1.1.3-incubating/wink-client-apache-httpc
lient-1.1.3-incubating.jar
[ERROR] urls[91] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/httpcomponents/httpclient/4.0.1/httpclient-4.0.1.jar
[ERROR] urls[92] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar
[ERROR] urls[93] = file:/d:/Profiles/anujsharma/.m2/repository/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.jar
[ERROR] urls[94] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/maven/archetype/archetype-common/2.2/archetype-common-2.2.jar
[ERROR] urls[95] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/maven/archetype/archetype-catalog/2.2/archetype-catalog-2.2.jar
[ERROR] urls[96] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/maven/archetype/archetype-descriptor/2.2/archetype-descriptor-2.2.jar
[ERROR] urls[97] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/maven/archetype/archetype-registry/2.2/archetype-registry-2.2.jar
[ERROR] urls[98] = file:/d:/Profiles/anujsharma/.m2/repository/net/sourceforge/jchardet/jchardet/1.0/jchardet-1.0.jar
[ERROR] urls[99] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/maven/shared/maven-invoker/2.0.11/maven-invoker-2.0.11.jar
[ERROR] urls[100] = file:/d:/Profiles/anujsharma/.m2/repository/org/codehaus/plexus/plexus-velocity/1.1.8/plexus-velocity-1.1.8.jar
[ERROR] urls[101] = file:/d:/Profiles/anujsharma/.m2/repository/org/apache/velocity/velocity/1.5/velocity-1.5.jar
[ERROR] urls[102] = file:/d:/Profiles/anujsharma/.m2/repository/org/twdata/maven/mojo-executor/1.5.2/mojo-executor-1.5.2.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[project>com.atlassian.plugins.tutorial.refapp:adminUI:1.0-SNAPSHOT, parent: ClassRealm[maven.api,
parent: null]]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginContainerException

 

 

 

Please suggest jdk version compliant with sdk 6.2.6

anuj__sharma July 11, 2016

@Nic Brough [Adaptavist]

i have analyzed that the problem is not related to refapp

this is basically due to command 

atlas-run --product jira --version 6.1

Can you please tell me :-

  1. what changes to be done in pom.xml for version 6.1.
  2. i am using Atlassian sdk in which i am not able to find the file setenv.bat for 
    modifying the parameter ' JVM_SUPPORT_RECOMMENDED_ARGS
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 11, 2016

Please see the previous comments.

anuj__sharma July 11, 2016

 i have read your comments earlier and tried jdk 7 with sdk 6 but it does not work

anuj__sharma July 12, 2016

@Nic Brough [Adaptavist]

It did not work 
Any ways thanks for the help smile

If you work at Atlassian ....Do you know when this JIRA plugin development tutorial would get updated.

It would be great for newbies.

Thanks 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 12, 2016

Problem - it does work (at least for me it does), so I don't think it'll be updated.

anuj__sharma July 12, 2016

just follow the tutorial : your JIRA would be locked as well laugh

you are lucky one .......its working for u cheeky

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 12, 2016

Indeed it does make it hard to debug it - it's working fine here, so I don't know what's wrong with it.

Sourav Singh August 18, 2016

@Anuj Sharma Did you find the solution for this issue??Any Luck??Please let me know I am facing the same issue.

anuj__sharma August 18, 2016

@Sourav Singh
Try with JIRA version <jira.version>7.1.9</jira.version> 
Also verify if other versions in pom.xml are correct or not.

and run command 'atlas-run'

It worked for me for running JIRA
but refapp will still create problem (this tutorial is outdated)

my suggestion is : It would be hassle free if you try to build your plugins without refapp.

The below link didn't worked for me but still you can try if it works for you:
https://confluence.atlassian.com/jirakb/troubleshooting-jira-startup-failed-error-394464512.html  

0 votes
anuj__sharma July 6, 2016

facing same problem .................. anyone has resolution?

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

TAGS
AUG Leaders

Atlassian Community Events