[jboss-jira] [JBoss JIRA] (AS7-3722) org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011093: Could not load component class org.springframework.social.facebook.web.FacebookInitTag for spring-social-facebook 1.0.1

Hendy Irawan (JIRA) jira-events at lists.jboss.org
Thu Feb 16 04:58:37 EST 2012


    [ https://issues.jboss.org/browse/AS7-3722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667024#comment-12667024 ] 

Hendy Irawan commented on AS7-3722:
-----------------------------------

Thank you Stuart ! :)
                
> org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011093: Could not load component class org.springframework.social.facebook.web.FacebookInitTag for spring-social-facebook 1.0.1
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AS7-3722
>                 URL: https://issues.jboss.org/browse/AS7-3722
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Class Loading
>    Affects Versions: 7.1.0.CR1b
>         Environment: spring-social-facebook 1.0.1.RELEASE
>            Reporter: Hendy Irawan
>            Assignee: Stuart Douglas
>             Fix For: 7.1.1.Final
>
>
> Loading only spring-social-facebook 1.0.1.RELEASE :
> {code}
> <dependency>
> 	<groupId>org.springframework.social</groupId>
> 	<artifactId>spring-social-facebook</artifactId>
> 	<version>1.0.1.RELEASE</version>
> </dependency>
> {code}
> throws:
> {code}
> 16:44:45,857 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-16) MSC00001: Failed to start service jboss.deployment.unit."satukancinta-web.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."satukancinta-web.war".POST_MODULE: Failed to process phase POST_MODULE of deployment "satukancinta-web.war"
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1824) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1759) [jboss-msc-1.0.1.GA.jar:1.0.1.GA]
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) [:1.7.0_147-icedtea]
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) [:1.7.0_147-icedtea]
> 	at java.lang.Thread.run(Thread.java:722) [:1.7.0_147-icedtea]
> Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: JBAS011093: Could not load component class org.springframework.social.facebook.web.FacebookInitTag
> 	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:113)
> 	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.deploy(InterceptorAnnotationProcessor.java:54)
> 	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115) [jboss-as-server-7.1.0.CR1b.jar:7.1.0.CR1b]
> 	... 5 more
> Caused by: java.lang.ClassNotFoundException: org.springframework.social.facebook.web.FacebookInitTag from [Module "deployment.satukancinta-web.war:main" from Service Module Loader]
> 	at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:190) [jboss-modules.jar:1.1.0.CR6]
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:468) [jboss-modules.jar:1.1.0.CR6]
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:456) [jboss-modules.jar:1.1.0.CR6]
> 	at org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:398) [jboss-modules.jar:1.1.0.CR6]
> 	at org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:120) [jboss-modules.jar:1.1.0.CR6]
> 	at org.jboss.as.ee.component.deployers.InterceptorAnnotationProcessor.processComponentConfig(InterceptorAnnotationProcessor.java:111)
> 	... 7 more
> {code}
> The workaround is to add:
> {code}
> <dependency>
> 	<groupId>org.springframework.social</groupId>
> 	<artifactId>spring-social-facebook-web</artifactId>
> 	<version>1.0.1.RELEASE</version>
> </dependency>
> {code}
> However in my opinion this should not be needed if the web application does not use the web resources provided by spring-social-facebook-web artifact.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list