Get introduced to RefApp occurred error

when i fellow the tutorial of your website at https://developer.atlassian.com/docs/getting-started/learn-the-development-platform-by-example/create-a-plugin-skeleton,before the Step 2. Start up the RefApp everything is ok.When i run "atlas-run" as the second step of "Step 2. Start up the RefApp" said occurred an error。

i have finished this chapter and there is no problem:https://developer.atlassian.com/docs/getting-started/set-up-the-atlassian-plugin-sdk-and-build-a-project 

how to handle this?


 

[INFO] [talledLocalContainer] ERROR - 14:58:13,921 - assian.plugin.osgi.container.felix.FelixOsgiContainerManager - [FelixDispatchQueue] - Framework error in bundle com.atlassian.devrel.developer-toolbox-plugin
[INFO] [talledLocalContainer] org.osgi.framework.BundleException: Unresolved constraint in bundle com.atlassian.devrel.developer-toolbox-plugin [26]: Unable to resolve 26.0: missing requirement [26.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.labs.restbrowser.plugin) [caused by: Unable to resolve 33.0: missing requirement [33.0] osgi.wiring.package; (osgi.wiring.package=com.atlassian.templaterenderer.velocity.one.six)]
[INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
[INFO] [talledLocalContainer] at org.apache.felix.framework.Felix.loadBundleClass(Felix.java:1824)
[INFO] [talledLocalContainer] at org.apache.felix.framework.BundleImpl.loadClass(BundleImpl.java:937)
[INFO] [talledLocalContainer] at com.atlassian.plugin.osgi.util.BundleClassLoaderAccessor$BundleClassLoader.findClass(BundleClassLoaderAccessor.java:66)
[INFO] [talledLocalContainer] at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
[INFO] [talledLocalContainer] at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
[INFO] [talledLocalContainer] at java.util.ResourceBundle$Control.newBundle(ResourceBundle.java:2640)
[INFO] [talledLocalContainer] at java.util.ResourceBundle.loadBundle(ResourceBundle.java:1501)
[INFO] [talledLocalContainer] at java.util.ResourceBundle.findBundle(ResourceBundle.java:1465)
[INFO] [talledLocalContainer] at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1361)
[INFO] [talledLocalContainer] at java.util.ResourceBundle.getBundle(ResourceBundle.java:1082)
[INFO] [talledLocalContainer] at com.atlassian.refapp.sal.message.ResourceBundleResolverImpl.getBundle(ResourceBundleResolverImpl.java:10)
[INFO] [talledLocalContainer] at com.atlassian.refapp.sal.message.RefimplI18nResolver.getBundle(RefimplI18nResolver.java:205)
[INFO] [talledLocalContainer] at com.atlassian.refapp.sal.message.RefimplI18nResolver.access$200(RefimplI18nResolver.java:39)
[INFO] [talledLocalContainer] at com.atlassian.refapp.sal.message.RefimplI18nResolver$2.get(RefimplI18nResolver.java:93)
[INFO] [talledLocalContainer] at com.atlassian.refapp.sal.message.RefimplI18nResolver$2.get(RefimplI18nResolver.java:87)
[INFO] [talledLocalContainer] at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:303)
[INFO] [talledLocalContainer] at com.atlassian.refapp.sal.message.RefimplI18nResolver.getPattern(RefimplI18nResolver.java:87)
[INFO] [talledLocalContainer] at com.atlassian.refapp.sal.message.RefimplI18nResolver.resolveText(RefimplI18nResolver.java:70)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.message.AbstractI18nResolver.getText(AbstractI18nResolver.java:31)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] [talledLocalContainer] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
[INFO] [talledLocalContainer] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
[INFO] [talledLocalContainer] at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
[INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
[INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
[INFO] [talledLocalContainer] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
[INFO] [talledLocalContainer] at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
[INFO] [talledLocalContainer] at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
[INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)
[INFO] [talledLocalContainer] at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
[INFO] [talledLocalContainer] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)
[INFO] [talledLocalContainer] at com.sun.proxy.$Proxy248.getText(Unknown Source)
[INFO] [talledLocalContainer] at com.atlassian.upm.core.log.AuditLogEntryImpl.getMessage(AuditLogEntryImpl.java:58)
[INFO] [talledLocalContainer] at com.atlassian.upm.core.log.PluginSettingsAuditLogService.log(PluginSettingsAuditLogService.java:94)
[INFO] [talledLocalContainer] at com.atlassian.upm.core.log.PluginSettingsAuditLogService.logI18nMessageWithCurrentApplication(PluginSettingsAuditLogService.java:73)
[INFO] [talledLocalContainer] at com.atlassian.upm.log.ApplicationLifecycleLoggerImpl.onStart(ApplicationLifecycleLoggerImpl.java:19)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$4.consume(DefaultLifecycleManager.java:277)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$4.consume(DefaultLifecycleManager.java:274)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyLifecyleAware(DefaultLifecycleManager.java:303)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyOnStartIfStartedAndEnabled(DefaultLifecycleManager.java:273)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.access$300(DefaultLifecycleManager.java:49)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$3.evaluate(DefaultLifecycleManager.java:235)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager$3.evaluate(DefaultLifecycleManager.java:232)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyLifecycleAwares(DefaultLifecycleManager.java:258)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.notifyStartableLifecycleAwares(DefaultLifecycleManager.java:231)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.startIfApplicationSetup(DefaultLifecycleManager.java:219)
[INFO] [talledLocalContainer] at com.atlassian.sal.core.lifecycle.DefaultLifecycleManager.onPluginFrameworkStarted(DefaultLifecycleManager.java:152)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[INFO] [talledLocalContainer] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
[INFO] [talledLocalContainer] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO] [talledLocalContainer] at java.lang.reflect.Method.invoke(Method.java:498)
[INFO] [talledLocalContainer] at com.atlassian.plugin.event.impl.MethodSelectorListenerHandler$1$1.invoke(MethodSelectorListenerHandler.java:42)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher$1$1.run(AsynchronousAbleEventDispatcher.java:46)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.MoreExecutors$DirectExecutorService.execute(MoreExecutors.java:299)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.AsynchronousAbleEventDispatcher.dispatch(AsynchronousAbleEventDispatcher.java:105)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.EventPublisherImpl.invokeListeners(EventPublisherImpl.java:160)
[INFO] [talledLocalContainer] at com.atlassian.event.internal.EventPublisherImpl.publish(EventPublisherImpl.java:79)
[INFO] [talledLocalContainer] at com.atlassian.plugin.event.impl.DefaultPluginEventManager.broadcast(DefaultPluginEventManager.java:73)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.broadcastIgnoreError(DefaultPluginManager.java:2081)
[INFO] [talledLocalContainer] at com.atlassian.plugin.manager.DefaultPluginManager.lateStartup(DefaultPluginManager.java:654)
[INFO] [talledLocalContainer] at com.atlassian.plugin.refimpl.ContainerManager$PluginPhaseTriggers$1.onSuccess(ContainerManager.java:342)
[INFO] [talledLocalContainer] at com.atlassian.plugin.refimpl.ContainerManager$PluginPhaseTriggers$1.onSuccess(ContainerManager.java:339)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.Futures$6.run(Futures.java:1319)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.Futures$CombinedFuture.setOneValue(Futures.java:1764)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.Futures$CombinedFuture.access$400(Futures.java:1608)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.Futures$CombinedFuture$2.run(Futures.java:1686)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.MoreExecutors$DirectExecutor.execute(MoreExecutors.java:457)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.ExecutionList.executeListener(ExecutionList.java:156)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.ExecutionList.execute(ExecutionList.java:145)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.AbstractFuture.set(AbstractFuture.java:185)
[INFO] [talledLocalContainer] at com.google.common.util.concurrent.SettableFuture.set(SettableFuture.java:53)
[INFO] [talledLocalContainer] at com.atlassian.plugin.refimpl.ContainerManager.<init>(ContainerManager.java:308)
[INFO] [talledLocalContainer] at com.atlassian.plugin.refimpl.InitListener.contextInitialized(InitListener.java:19)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4760)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5184)
[INFO] [talledLocalContainer] at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:724)
[INFO] [talledLocalContainer] at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:700)
[INFO] [talledLocalContainer] at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:714)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:919)
[INFO] [talledLocalContainer] at org.apache.catalina.startup.HostConfig$DeployWar.run(HostConfig.java:1704)
[INFO] [talledLocalContainer] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
[INFO] [talledLocalContainer] at java.util.concurrent.FutureTask.run(FutureTask.java:266)
[INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
[INFO] [talledLocalContainer] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
[INFO] [talledLocalContainer] at java.lang.Thread.run(Thread.java:745)
[INFO] [talledLocalContainer] INFO - 14:58:13,940 - com.atlassian.upm.core.log.PluginSettingsAuditLogService - [localhost-startStop-1] - Thu Jun 23 14:58:13 CST 2016 RefImpl: Successfully started the Universal Plugin Manager
[INFO] [talledLocalContainer] WARN - 14:58:13,940 - strumentation.expose.jmx.schedule.JmxInstrumentSchedulerImpl - [localhost-startStop-1] - atlassian-instrumentation-jmx expose scheduler started.
[INFO] [talledLocalContainer] INFO - 14:58:13,941 - com.atlassian.sal.core.upgrade.DefaultPluginUpgradeManager - [localhost-startStop-1] - Running plugin upgrade tasks...
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.catalina.core.ApplicationContext log
[INFO] [talledLocalContainer] 信息: org.tuckey.web.filters.urlrewrite.UrlRewriteFilter INFO: loaded (conf ok)
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.catalina.startup.HostConfig deployWAR
[INFO] [talledLocalContainer] 信息: Deployment of web application archive /Users/myUserNamede/atlastutorial/adminUI/target/container/tomcat8x/cargo-refapp-home/webapps/refapp.war has finished in 23,721 ms
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] 信息: Deploying web application directory /Users/myUserNamede/atlastutorial/adminUI/target/container/tomcat8x/cargo-refapp-home/webapps/host-manager
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] 信息: Deployment of web application directory /Users/myUserNamede/atlastutorial/adminUI/target/container/tomcat8x/cargo-refapp-home/webapps/host-manager has finished in 25 ms
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] 信息: Deploying web application directory /Users/myUserNamede/atlastutorial/adminUI/target/container/tomcat8x/cargo-refapp-home/webapps/manager
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.catalina.startup.HostConfig deployDirectory
[INFO] [talledLocalContainer] 信息: Deployment of web application directory /Users/myUserNamede/atlastutorial/adminUI/target/container/tomcat8x/cargo-refapp-home/webapps/manager has finished in 16 ms
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] 信息: Starting ProtocolHandler ["http-nio-5990"]
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.coyote.AbstractProtocol start
[INFO] [talledLocalContainer] 信息: Starting ProtocolHandler ["ajp-nio-8009"]
[INFO] [talledLocalContainer] 六月 23, 2016 2:58:14 下午 org.apache.catalina.startup.Catalina start
[INFO] [talledLocalContainer] 信息: Server startup in 24071 ms
[INFO] [talledLocalContainer] Tomcat 8.x started on port [5990]
[INFO] refapp started successfully in 32s at http://myUserNamedeMacBook-Pro.local:5990/refapp
[INFO] Type Ctrl-D to shutdown gracefully
[INFO] Type Ctrl-C to exit
[INFO] [talledLocalContainer] INFO - 14:58:20,497 - com.atlassian.marketplace.client.MarketplaceClient - [UpmScheduler:thread-2] - GET https://marketplace.atlassian.com/rest/1.0/
[INFO] [talledLocalContainer] INFO - 14:58:21,997 - com.atlassian.upm.analytics.impl.MpacAnalyticsPublisher - [UpmScheduler:thread-2] - MPAC returned error 404 for audit event (updates)

3 answers

In build plugin section of your pom.xml file 

Change 

&lt;artifactId&gt;maven-refapp-plugin&lt;/artifactId&gt;

to

&lt;artifactId&gt;maven-jira-plugin&lt;/artifactId&gt;

and in plugin configuration 

&lt;productVersion&gt;${refapp.version}&lt;/productVersion&gt;

to

&lt;productVersion&gt;${jira.version}&lt;/productVersion&gt;

add following line after the <productVersion>

&lt;productDataVersion&gt;${jira.version}&lt;/productDataVersion&gt;

Is the plugin not working? 
run this http://myUserNamedeMacBook-Pro.local:5990/refapp and see if it opens?
 

e..it's amazing. http://myUserNamedeMacBook-Pro.local:5990/refapp  has work! opend with chrome it show the page same as what your tutorial shown.

but i remembered it don't work earlier times.

i have edit the  bash_profile location at /Users/myUserName/bash.profile  .  edit the M2_HOME from "/usr/share/java/maven-3.0.3" to "/Applications/Atlassian/atlassian-plugin-sdk-6.2.6/apache-maven-3.2.1" which was created by sdk-installer-6.2.6.dmg.

before i edit bash_profile file http://myUserNamedeMacBook-Pro.local:5990/refapp don't work and now it is working.but the error log still occurred when run "atlas-run" in my terminal.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

77 views 3 3
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