All of the org.richfaces imports are all of a sudden underlined in red, and of course any thing in the code that uses them. So of course my jsf pages that use these beans will not load. When i tried to load one I see:
HTTP Status 500 - | | -------------------------------------------------------------------------------- | | type Exception report | | message | | description The server encountered an internal error () that prevented it from fulfilling this request. | | exception | | javax.servlet.ServletException: Servlet execution threw an exception | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390) | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517) | | | root cause | | java.lang.Error: Unresolved compilation problems: | The import org.richfaces cannot be resolved | The import org.richfaces cannot be resolved | The import org.richfaces cannot be resolved | The import org.richfaces cannot be resolved | The import org.richfaces cannot be resolved | TreeNode cannot be resolved to a type | TreeNode cannot be resolved to a type | TreeNodeImpl cannot be resolved to a type | TreeNodeImpl cannot be resolved to a type | TreeNode cannot be resolved to a type | TreeNodeImpl cannot be resolved to a type | TreeNode cannot be resolved to a type | NodeSelectedEvent cannot be resolved to a type | HtmlTree cannot be resolved to a type | HtmlTree cannot be resolved to a type | TreeNode cannot be resolved to a type | TreeNode cannot be resolved to a type | TreeNode cannot be resolved to a type | TreeNode cannot be resolved to a type | TreeNode cannot be resolved to a type | TreeNode cannot be resolved to a type | | deviceContainer.SimpleTreeBean.<init>(SimpleTreeBean.java:16) | sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) | sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) | java.lang.reflect.Constructor.newInstance(Constructor.java:513) | java.lang.Class.newInstance0(Class.java:355) | java.lang.Class.newInstance(Class.java:308) | com.sun.faces.mgbean.BeanBuilder.newBeanInstance(BeanBuilder.java:186) | com.sun.faces.mgbean.BeanBuilder.build(BeanBuilder.java:106) | com.sun.faces.mgbean.BeanManager.createAndPush(BeanManager.java:368) | com.sun.faces.mgbean.BeanManager.create(BeanManager.java:222) | com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:86) | javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) | com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) | org.apache.el.parser.AstIdentifier.getValue(AstIdentifier.java:61) | org.apache.el.parser.AstValue.getValue(AstValue.java:107) | org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | javax.faces.component.UIData.getValue(UIData.java:609) | org.ajax4jsf.component.UIDataAdaptor.getValue(UIDataAdaptor.java:1644) | org.richfaces.component.UITree.createDataModel(UITree.java:679) | org.ajax4jsf.component.UIDataAdaptor.getExtendedDataModel(UIDataAdaptor.java:621) | org.ajax4jsf.component.UIDataAdaptor.setRowKey(UIDataAdaptor.java:339) | org.richfaces.renderkit.TreeRendererBase.writeContent(TreeRendererBase.java:660) | org.richfaces.renderkit.TreeRendererBase.encodeChildren(TreeRendererBase.java:601) | javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:930) | javax.faces.render.Renderer.encodeChildren(Renderer.java:148) | javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:930) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) | com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) | org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100) | org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176) | com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) | com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:178) | org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290) | org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:390) | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:517) | | | note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs. | | | -------------------------------------------------------------------------------- | | Apache Tomcat/6.0.18 Is my prject broken now, do I need to recreate everything, or is there a way to fix this...I really have no idea what is going on here. All I did was add in httpclient-commons jar to get some httpclient stuff working, restarted eclipse a few times, and upon about third time restarting this happens all of a sudden. ANy ideas? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4235035#4235035 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4235035 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
