[jboss-user] [JBoss Seam] - Re: java.lang.NoClassDefFoundError: org/jaxen/VariableContex

dustismo do-not-reply at jboss.com
Tue Jan 23 13:34:34 EST 2007


I have narrowed it down to this class.  I suspect this is a bug in icefaces.  Is there anyway to find out what specific object is causing the exception?  I can tell from the server.log that it dying on the ArrayList of MenuItem (MenuItem is an icefaces class) but thats it.  


  | @Stateful
  | @Name("menuManager")
  | @Scope(SESSION)
  | public class MenuManagerBean implements MenuManager, java.io.Serializable {
  | 	/**
  | 	 * 
  | 	 */
  | 	private static final long serialVersionUID = 4289740177244369482L;
  | 
  | 	@Logger 
  | 	private Log log;
  | 	
  |     @In 
  |     FacesMessages facesMessages;
  |     
  | //    @In @Out
  | //    private User user;
  |     
  |     @PersistenceContext
  |     private EntityManager em;
  |     
  |     @Out
  |     private List<MenuItem> dataMenu;
  |     
  |     public MenuManagerBean(){}
  |     
  |     @Factory("dataMenu")
  | 	public void loadDataMenu() {
  |     	        dataMenu = new ArrayList<MenuItem>();
  | 		for (int i=0; i < 5; i++) {
  | 			MenuItem item = new MenuItem();
  | 	    	        item.setId("menuItem_" + i);
  | 			item.setLink("link-" + i + ".seam");
  | 			item.setValue("MenuItem-" + i);
  | 			dataMenu.add(item);
  | 		}
  | 	}
  |     
  |     @Remove @Destroy
  |     public void destroy() {}
  | 
  | 	public List<MenuItem> getDataMenu() {
  | 		return dataMenu;
  | 	}
  | 
  | 	public void setDataMenu(List<MenuItem> dataMenu) {
  | 		this.dataMenu = dataMenu;
  | 	}
  | }

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4005426



More information about the jboss-user mailing list