Skip to main content

SEVERE: Exception while loading the app : Same interception type cannot be specified twice on the same class

5 replies [Last post]
rmpestano
Offline
Joined: 2010-02-26
Points: 0

Hi everyone,
Its my first post here at the forum so if i miss anything let me know.
Im facing a problem when i try to deploy my app at GF 3.1.1(b06) or GF 3.0.1, this app "runs" under JSF 2.1.1, Hibernate 3.5.1, CDI, EJB 3.1. I have a similar app which runs sucessfull with this stack but this one, im migrating from Spring to CDI + EJB, i cant get to work, here is the full stacktrace: http://pastebin.com/TQSy7vQv
its a small web app and here is the information to deploy it:
WAR: http://www.4shared.com/file/nQ2qBtYT/wikifaces-10-SNAPSHOT.html
database config: http://pastebin.com/MCXcmxhW
postgres drive: http://jdbc.postgresql.org/download/postgresql-8.4-702.jdbc4.jar
if you need any more information please let me know. Thanks in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
rmpestano
Offline
Joined: 2010-02-26
Points: 0

here is where the exception is raised in weld: http://www.grepcode.com/file/repo1.maven.org/maven2/org.jboss.weld.servl...
maybe it helps.

rmpestano
Offline
Joined: 2010-02-26
Points: 0

rmpestano wrote:

here is where the exception is raised in weld: http://www.grepcode.com/file/repo1.maven.org/maven2/org.jboss.weld.servl...
maybe it helps.

line 81

rmpestano
Offline
Joined: 2010-02-26
Points: 0

I found the cause,it was a managedBean with two @PostConstruct. I hope it helps someone else cause i had hard time trying to figure it out(had to delete almost all project :P )

gadmeer
Offline
Joined: 2012-03-11
Points: 0

YEAH!!!! ty ;)

i spend just a few seconds ... thanks to you! :D

alehro
Offline
Joined: 2012-11-26
Points: 0

+1 Many thanks.