I am creating my first Atlassian Connect add-on using this tutorial https://bitbucket.org/atlassian/atlassian-connect-play-java. Initially I used 2.11.x scala version but there were some conflicts in dependencies so I chnaged scala to 2.10.3 and those problems disappeared. Build.sbt file now looks like
name := """leanGearsDiscovery""" version := "1.0-SNAPSHOT" lazy val root = (project in file(".")).enablePlugins(PlayJava) scalaVersion := "2.10.3" libraryDependencies ++= Seq( cache, javaWs , javaCore, javaJpa, "com.atlassian.connect" % "ac-play-java_2.10" % "0.10.1" withSources() ) // Play provides two styles of routers, one expects its actions to be injected, the // other, legacy style, accesses its actions statically. routesGenerator := InjectedRoutesGenerator resolvers += "Atlassian's Maven Public Repository" at "https://maven.atlassian.com/content/groups/public" resolvers += "Local Maven Repository" at "file://" + Path.userHome + "/.m2/repository"
No I am getting
[info] 'compiler-interface' not yet compiled for Scala 2.10.3. Compiling... [info] Compilation completed in 10.629 s [error] /opt/AtlassianPluginWorkspace/leanpitchJIRAPlugins/AtlassianConnect/leanGearsDiscovery/conf/routes:7: type Routes is not a member of package ac [error] -> / ac.Routes [error] /opt/AtlassianPluginWorkspace/leanpitchJIRAPlugins/AtlassianConnect/leanGearsDiscovery/conf/routes:7: type Routes is not a member of package ac [error] -> / ac.Routes [error] /opt/AtlassianPluginWorkspace/leanpitchJIRAPlugins/AtlassianConnect/leanGearsDiscovery/conf/routes:7: type Routes is not a member of package ac [error] -> / ac.Routes [error] three errors found [error] (compile:compileIncremental) Compilation failed [error] Total time: 338 s, completed 21 Dec, 2015 6:38:01 PM
I have downloaded the latest version of play that includes activator (2.4.4). But the tutorial says it needs to be 2.2.4. Do I have to go back to the same old version or is there a way I can still contiue or resolve this error?
Community moderators have prevented the ability to post new answers.
Unfortunately we have not updated the atlassian-connect-play-java framework to be compatible with the latest Play framework version yet.
I have raised this issue on your behalf to try and make this happen: https://bitbucket.org/atlassian/atlassian-connect-play-java/issues/6/please-update-to-the-latest-version-of
In the meantime please use version 2.2.4.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.