Results 1 to 2 of 2

Thread: error while running the project on jboss

  1. #1

    Default error while running the project on jboss

    Goodmorning everyone

    I have an error since yesterday which I couldn't resolve.

    Code:
    2012-04-12 08:58:18,236 ERROR [org.springframework.web.context.ContextLoader] (main) Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' defined in ServletContext resource [/WEB-INF/config/applicationContext-cronjobs.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.quartz.SchedulerException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
    	at ...
    	
    Caused by: java.lang.NoSuchMethodError: org.quartz.SchedulerException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
    	at ..
    	... 81 more
    2012-04-12 08:58:18,236 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/soa-management-webapp]] (main) Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.scheduling.quartz.SchedulerFactoryBean#0' defined in ServletContext resource [/WEB-INF/config/applicationContext-cronjobs.xml]: Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org.quartz.SchedulerException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
    	at ...
    
    Caused by: java.lang.NoSuchMethodError: org.quartz.SchedulerException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
    	...
    
    	... 81 more
    2012-04-12 08:58:18,236 ERROR [org.apache.catalina.core.StandardContext] (main) Error listenerStart
    2012-04-12 08:58:18,236 ERROR [org.apache.catalina.core.StandardContext] (main) Context [/soa-management-webapp] startup failed due to previous errors
    2012-04-12 08:58:18,236 INFO  [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/soa-management-webapp]] (main) Closing Spring root WebApplicationContext
    2012-04-12 08:58:18,251 INFO  [STDOUT] (main) WARN: The method class org.apache.commons.logging.impl.SLF4JLogFactory#release() was invoked.
    2012-04-12 08:58:18,251 INFO  [STDOUT] (main) WARN: Please see http://www.slf4j.org/codes.html for an explanation.
    2012-04-12 08:58:18,251 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=jboss.web.deployment:war=/soa-management-webapp state=Create mode=Manual requiredState=Installed
    org.jboss.deployers.spi.DeploymentException: URL file:/C:/develop/jboss-5.1.0.GA/server/default/deploy/soa-management-webapp.war/ deployment failed
    	at ...
    
               ...
    
    2012-04-12 08:58:18,314 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] (main) Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
    
    DEPLOYMENTS IN ERROR:
      Deployment "vfsfile:/C:/develop/jboss-5.1.0.GA/server/default/deploy/soa-management-webapp.war/" is in error due to the following reason(s): org.jboss.deployers.spi.DeploymentException: URL file:/C:/develop/jboss-5.1.0.GA/server/default/deploy/soa-management-webapp.war/ deployment failed
    
    2012-04-12 08:58:18,330 INFO  [org.apache.coyote.http11.Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-localhost%2F127.0.0.1-8080
    2012-04-12 08:58:18,532 INFO  [org.apache.coyote.ajp.AjpProtocol] (main) Starting Coyote AJP/1.3 on ajp-localhost%2F127.0.0.1-8009
    2012-04-12 08:58:18,564 INFO  [org.jboss.bootstrap.microcontainer.ServerImpl] (main) JBoss (Microcontainer) [5.1.0.GA (build: SVNTag=JBoss_5_1_0_GA date=200905221634)] Started in 2m:11s:547ms
    Thanks for all the answers.

  2. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,796

    Default

    Hello

    Code:
    Caused by: java.lang.NoSuchMethodError: 
    org.quartz.SchedulerException: method <init>(Ljava/lang/String;Ljava/lang/Throwable;)V not found
    Thats type of exceptions is because you have a conflict of versions.

    Check carefully the Spring and Quartz versions
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •