Hi, I found another hello from Hongs for version 12.04, but run into org.ofbiz.webapp.view.ViewHandlerException: No handler found for type: screen The detail log is [java] 2013-10-07 10:18:42,909 (http-bio-0.0.0.0-8080-exec-1) [ ViewFactory.java:125:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.widget.screen.ScreenWidgetViewHandler I checked API again and couldn't find the class. Recalled I had the Class Not Found in hello1, I believed 12.04.02 changed API a lot. I will try earlier versions to check those examples. If anyone know how to resolve this for version 12.04.02, please let me know. Thanks, Xue-Feng |
Now this hello is working after get a right version. However, I got another error:
[java] 2013-10-07 13:15:21,343 (catalina-startup-5) [ UtilXml.java:1060:ERROR] XmlFileLoader: File file:/C:/gtworkspace/apache-ofbiz-12.04.02/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml process error. Line: 165. Error message: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". although ecommerce package still works. I will back to this problem. ________________________________ From: Xue-Feng Yang <[hidden email]> To: "[hidden email]" <[hidden email]> Sent: Monday, October 7, 2013 12:01:22 PM Subject: hello example for 12.04 not working for ver 12.04.02 Hi, I found another hello from Hongs for version 12.04, but run into org.ofbiz.webapp.view.ViewHandlerException: No handler found for type: screen The detail log is [java] 2013-10-07 10:18:42,909 (http-bio-0.0.0.0-8080-exec-1) [ ViewFactory.java:125:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.widget.screen.ScreenWidgetViewHandler I checked API again and couldn't find the class. Recalled I had the Class Not Found in hello1, I believed 12.04.02 changed API a lot. I will try earlier versions to check those examples. If anyone know how to resolve this for version 12.04.02, please let me know. Thanks, Xue-Feng |
No need to worry about that warning. It simply means the XML in your
web.xml file is invalid. It will still work though. Adrian Crum Sandglass Software www.sandglass-software.com On 10/7/2013 10:40 AM, Xue-Feng Yang wrote: > Now this hello is working after get a right version. However, I got another error: > > [java] 2013-10-07 13:15:21,343 (catalina-startup-5) [ UtilXml.java:1060:ERROR] XmlFileLoader: File file:/C:/gtworkspace/apache-ofbiz-12.04.02/specialpurpose/ecommerce/webapp/ecommerce/WEB-INF/web.xml process error. Line: 165. Error message: The content of element type "web-app" must match "(icon?,display-name?,description?,distributable?,context-param*,filter*,filter-mapping*,listener*,servlet*,servlet-mapping*,session-config?,mime-mapping*,welcome-file-list?,error-page*,taglib*,resource-env-ref*,resource-ref*,security-constraint*,login-config?,security-role*,env-entry*,ejb-ref*,ejb-local-ref*)". > > > although ecommerce package still works. I will back to this problem. > > > > ________________________________ > From: Xue-Feng Yang <[hidden email]> > To: "[hidden email]" <[hidden email]> > Sent: Monday, October 7, 2013 12:01:22 PM > Subject: hello example for 12.04 not working for ver 12.04.02 > > > > Hi, > > I found another hello from Hongs for version 12.04, but run into > > org.ofbiz.webapp.view.ViewHandlerException: No handler found for type: screen > > The detail log is > > [java] 2013-10-07 10:18:42,909 (http-bio-0.0.0.0-8080-exec-1) [ ViewFactory.java:125:WARN ] Warning: could not load view handler class because it was not found; note that some views may not work: java.lang.ClassNotFoundException: org.ofbiz.widget.screen.ScreenWidgetViewHandler > > I checked API again and couldn't find the class. Recalled I had the Class Not Found in hello1, I believed 12.04.02 changed API a lot. I will try earlier versions to check those examples. > > If anyone know how to resolve this for version 12.04.02, please let me know. > > Thanks, > > Xue-Feng > |
Free forum by Nabble | Edit this page |