atlassian JDK new fecru plugin wont run - context load error

jredwood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2017
Hi All,

Spent too long on this already, but I can't even get the basic plugin running with just the skeleton project and following the guide located : https://developer.atlassian.com/fecrudev/tutorials/crucible-scm-plugin-tutorial

Here is my setup

Windows 10

ATLAS Version: 6.2.14
ATLAS Home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.14
ATLAS Scripts: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.14\bin
ATLAS Maven Home: C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.14\apache-maven-3.2.1
AMPS Version: 6.2.11
--------
Executing: "C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.14\apache-maven-3.2.1\bin\mvn.bat" --version -gs C:\Applications\Atlassian\atlassian-plugin-sdk-6.2.14\apache-maven-3.2.1/conf/settings.xml
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
Apache Maven 3.0.4 (r1232337; 2012-01-17 19:44:56+1100)
Maven home: C:\Program Files\springsource\apache-maven-3.0.4
Java version: 1.8.0_05, vendor: Oracle Corporation
Java home: C:\Java\jdk1.8.0_05\jre
Default locale: en_AU, platform encoding: Cp1252
OS name: "windows 8.1", version: "6.3", arch: "amd64", family: "dos"

---------------------

The ERROR: 

2017-03-18 14:03:55,352 ERROR [main] org.springframework.web.context.ContextLoader org.springframework.web.context.ContextLoader-initWebApplicationContext - Context initialization failed

org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing XML document from ServletContext resource [/WEB-INF/applicationContext.xml]; nested exception is java.lang.IllegalStateException: AnnotationAwareAspectJAutoProxyCreator is only available on Java 1.5 and higher

2017-03-18 14:03:55,375 WARN [main] fisheye.app com.cenqua.fisheye.config.RootConfig-startRepositories - problem starting repository

--------------------

 

I'm using JDK 1.8 - I did slightly get it to load when i changed the fecru.version from 2.3 to 4 etc but then other stuff started occuring... not sure where to move from - is the archetype not working properly?

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
jredwood
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 17, 2017

FYI - It is easily re-producible, Just have JDK8 on Windows 10 (not sure of other O/S) download test Atlassian SDK, and run the skeleton command for fecru plugin.

Paul Y May 4, 2017

The same! OS: OpenSUSE.

openjdk version "1.8.0_121"
OpenJDK Runtime Environment (IcedTea 3.3.0) (suse-3.3-x86_64)
OpenJDK 64-Bit Server VM (build 25.121-b13, mixed mode).

But compilation with atlas-compile passes. May be, there is option to compile, then to copy (what files???) to server from target/ folder? So, this is the error when atlas-run is running (without any arguments).

Paul Y May 4, 2017

there is such hint in SO: http://stackoverflow.com/questions/23813369/spring-java-error-namespace-element-annotation-config-on-jdk-1-5-and-high but I don't know how to replace this .class because it's rebulding all the time when atlas-run is calling... 

TAGS
AUG Leaders

Atlassian Community Events