I start out in JBoss Tools Seam Module by creating a new seam project (WAR), 
add an entity, and a backing bean method that inserts an entity and a button 
that calls that method => everything is inserted fine.

Then I add a dependency from the model to the action (all this 
domain-driven-rich-model-stuff, you know) => NoClassDefFounderror for the 
action. Not surprising, since the WEB-INF/dev has it's own classloader, so I 
try to put everything under /dev (the entities are POJOs anyway so I would like 
to have them there). Edit the output folder for the model. Now I get a 
"java.lang.IllegalArgumentException: Unknown entity: 
org.domain.Concept.model.Foo".

How come? The classes are there, the persistence.xml is there, seam.properties 
is there. How can you get the entire source tree available for incremental hot 
deployment?

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4119518#4119518

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4119518
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to