Bug 977344 - Seam example: spring - spring AOP exception while logging in
Summary: Seam example: spring - spring AOP exception while logging in
Alias: None
Product: JBoss Enterprise WFK Platform 2
Classification: Retired
Component: Seam
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: 2.4.0
Assignee: Marek Novotny
QA Contact: Marek Schmidt
Depends On:
TreeView+ depends on / blocked
Reported: 2013-06-24 10:55 UTC by Marián Labuda
Modified: 2013-06-27 09:45 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Release Note
Doc Text:
mnovotny to provide: Cause: Consequence: Fix: Result:
Clone Of:
Last Closed: 2013-06-27 09:45:23 UTC
Type: Bug

Attachments (Terms of Use)

Description Marián Labuda 2013-06-24 10:55:36 UTC
Describe the issue: 
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userService' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Could not generate CGLIB subclass of class [class org.jboss.seam.example.spring.UserService]: Common causes of this problem include using a final class or a non-visible class; nested exception is net.sf.cglib.core.CodeGenerationException: java.lang.reflect.InvocationTargetException-->null

root cause is java.lang.SecurityException: class "org.jboss.seam.example.spring.UserService$$EnhancerByCGLIB$$e4518db2"'s signer information does not match signer information of other classes in the same package

How reproducible:
deploy example spring on EAP 6.1 and try to log in with default demo/demo.

seam 2.3.1 Final examples in WFK 2.3.0 ER1
tested in JBDS 7.0.0. Beta 2 on EAP 6.1

Note You need to log in before you can comment on or make changes to this bug.