cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hans-Heinrich Braun <>
Subject Re: error in jetty with 3.0.0-beta-1-SNAPSHOT
Date Sat, 13 Feb 2016 10:54:13 GMT
when i do what you told  i get by jetty:run the following error:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:[ERROR] 'dependencies.dependency.version'
for org.aspectj:aspectjrt:jar is missing. @ line 93, column 20 @ [ERROR] The build could
not read 1 project -> [Help 1]org.apache.maven.project.ProjectBuildingException: Some problems
were encountered while processing the POMs:[ERROR] 'dependencies.dependency.version' for org.aspectj:aspectjrt:jar
is missing. @ line 93, column 20
 at at
org.apache.maven.graph.DefaultGraphBuilder.collectProjects( at
at at org.apache.maven.DefaultMaven.buildGraph(
at org.apache.maven.DefaultMaven.doExecute( at org.apache.maven.DefaultMaven.doExecute(
at org.apache.maven.DefaultMaven.execute( at org.apache.maven.cli.MavenCli.execute(
at org.apache.maven.cli.MavenCli.doMain( at org.apache.maven.cli.MavenCli.main(
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(
at sun.reflect.DelegatingMethodAccessorImpl.invoke( at
java.lang.reflect.Method.invoke( at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(
at org.codehaus.plexus.classworlds.launcher.Launcher.launch( at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(
at org.codehaus.plexus.classworlds.launcher.Launcher.main([ERROR]   [ERROR]
  The project com.mycompany:mysite:1.0-SNAPSHOT (/home/braun/cocoon/mysite/pom.xml) has 1
error[ERROR]     'dependencies.dependency.version' for org.aspectj:aspectjrt:jar is missing.
@ line 93, column 20[ERROR] [ERROR] [ERROR] For more information about the errors and possible
solutions, please read the following articles:[ERROR] [Help 1]

      Von: Francesco Chicchiriccò <>
 Gesendet: 16:39 Freitag, 12.Februar 2016
 Betreff: Re: error in jetty with 3.0.0-beta-1-SNAPSHOT
 On 12/02/2016 16:02, Hans-Heinrich Braun wrote:
  i have a cocoon application which i used already some time. When i tried to reinstall it
and tried to start it with jetty:run i get the following error.:  
 I have just fixed some problems with published SNAPSHOT artifacts.
 I have just re-generated an empty Cocoon 3 block with
 mvn archetype:generate \
     -DarchetypeGroupId=org.apache.cocoon.archetype-block \
     -DarchetypeArtifactId=cocoon-archetype-block \
     -DarchetypeVersion=3.0.0-beta-1-SNAPSHOT \
     -DgroupId=com.mycompany \
     -DartifactId=mysite \
 cd mysite
 mvn jetty:run
 and it worked flawlessly.
 I have noticed troubles in building Cocoon 3 source with JDK 8, so I had to switch to JDK
  [ERROR] Failed startup of contextorg.mortbay.jetty.plugin.Jetty6PluginWebAppContext@3c3562c0{/,/home/braun/appfuse/braunimmobilien/cocoon/target/rcl/webapp}
java.lang.RuntimeException: Cannot invoke listener org.springframework.web.context.ContextLoaderListener@6468904c

  and later 
  Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Unable to read
spring configurations from classpath*:META-INF/cocoon/spring; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
Configuration problem: Unexpected failure during bean definition parsing Offending resource:
Bean 'org.apache.cocoon.jnet.URLHandlerFactoryCollector'; nested exception is java.lang.NoSuchMethodError:org.springframework.util.ClassUtils.forName(Ljava/lang/String;)Ljava/lang/Class;

  I could not find out what i made wrong.  
Francesco Chicchiriccò

Tirasa - Open Source Excellence

Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC, CXF committer 

View raw message