You can translate the question and the replies:

facing lssue while connecting http://localhost:8081/services/products-ws?wsdl as doing my lab

Hi Team, I am not able to connect http://localhost:8081/services/products-ws?wsdl or http://localhost:8080/services/products-ws?wsdl while doing lab exercise: DEN70EDUD1202LAB01 - Create a Web service data source and import some operations http://denodolearning.litmos.com/course/1620471/module/4347080?moduletoken=bx4X7UK0~jN2GAFfCEgxmLwq5y~gYo2LfYKYqd5vkRkJ5ulgXMGaZaR6WCRvnzPi&LPId=72920 Even start.bat is not working: Expanding product-ws.war into D:\Desk18\Big Dat EN70EDUD1202LAB01\DEN70EDUD1202LAB01\target\tom Adding Context for D:\Desk18\Big Data Etl\Deno 02LAB01\DEN70EDUD1202LAB01\target\tomcat.8081\w Aug 25, 2019 1:12:01 PM org.apache.coyote.Abstr INFO: Initializing ProtocolHandler ["http-nio-8 Aug 25, 2019 1:12:06 PM org.apache.tomcat.util. ctor INFO: Using a shared selector for servlet write Aug 25, 2019 1:12:06 PM org.apache.catalina.cor INFO: Starting service Tomcat Aug 25, 2019 1:12:06 PM org.apache.catalina.cor INFO: Starting Servlet Engine: Apache Tomcat/8. Aug 25, 2019 1:12:06 PM org.apache.catalina.sta mlFragment INFO: No global web.xml found Aug 25, 2019 1:12:07 PM org.apache.jasper.servl INFO: At least one JAR was scanned for TLDs yet logging for this logger for a complete list of s were found in them. Skipping unneeded JARs du time and JSP compilation time. Aug 25, 2019 1:12:08 PM org.apache.catalina.cor INFO: Initializing Spring root WebApplicationCo Aug 25, 2019 1:12:08 PM org.springframework.web licationContext INFO: Root WebApplicationContext: initializatio Aug 25, 2019 1:12:08 PM org.springframework.con ontext prepareRefresh INFO: Refreshing Root WebApplicationContext: st ST 2019]; root of context hierarchy Aug 25, 2019 1:12:08 PM org.springframework.bea eader loadBeanDefinitions INFO: Loading XML bean definitions from Servlet rvlet.xml] Aug 25, 2019 1:12:08 PM org.springframework.web licationContext SEVERE: Context initialization failed org.springframework.beans.factory.BeanDefinitio tion parsing XML document from ServletContext r ]; nested exception is org.springframework.bean espaceHandler class [org.apache.cxf.jaxws.sprin [http://cxf.apache.org/jaxws]: problem with ha ss; nested exception is java.lang.NoClassDefFou tion at org.springframework.beans.factory.xm eanDefinitions(XmlBeanDefinitionReader.java:412 at org.springframework.beans.factory.xm nDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xm nDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.su r.loadBeanDefinitions(AbstractBeanDefinitionRea at org.springframework.beans.factory.su r.loadBeanDefinitions(AbstractBeanDefinitionRea at org.springframework.beans.factory.su r.loadBeanDefinitions(AbstractBeanDefinitionRea at org.springframework.web.context.supp BeanDefinitions(XmlWebApplicationContext.java:1 at org.springframework.web.context.supp BeanDefinitions(XmlWebApplicationContext.java:9 at org.springframework.context.support. text.refreshBeanFactory(AbstractRefreshableAppl at org.springframework.context.support. FreshBeanFactory(AbstractApplicationContext.jav at org.springframework.context.support. h(AbstractApplicationContext.java:397) at org.springframework.web.context.Cont text(ContextLoader.java:282) at org.springframework.web.context.Cont xt(ContextLoader.java:204) at org.springframework.web.context.Cont zed(ContextLoaderListener.java:47) at org.apache.catalina.core.StandardCon t.java:4727) at org.apache.catalina.core.StandardCon t.java:5189) at org.apache.catalina.util.LifecycleBa at org.apache.catalina.core.ContainerBa java:1403) at org.apache.catalina.core.ContainerBa java:1393) at java.base/java.util.concurrent.Futur at java.base/java.util.concurrent.Threa lExecutor.java:1167) at java.base/java.util.concurrent.Threa olExecutor.java:641) at java.base/java.lang.Thread.run(Threa Caused by: org.springframework.beans.FatalBeanE r class [org.apache.cxf.jaxws.spring.NamespaceH .apache.org/jaxws]: problem with handler class xception is java.lang.NoClassDefFoundError: jav at org.springframework.beans.factory.xm .resolve(DefaultNamespaceHandlerResolver.java:1 at org.springframework.beans.factory.xm rseCustomElement(BeanDefinitionParserDelegate.j at org.springframework.beans.factory.xm rseCustomElement(BeanDefinitionParserDelegate.j at org.springframework.beans.factory.xm ader.parseBeanDefinitions(DefaultBeanDefinition at org.springframework.beans.factory.xm ader.registerBeanDefinitions(DefaultBeanDefinit at org.springframework.beans.factory.xm rBeanDefinitions(XmlBeanDefinitionReader.java:4 at org.springframework.beans.factory.xm eanDefinitions(XmlBeanDefinitionReader.java:390 ... 22 more Caused by: java.lang.NoClassDefFoundError: java at org.apache.cxf.jaxws.spring.Namespac va:34) at org.springframework.beans.factory.xm .resolve(DefaultNamespaceHandlerResolver.java:1 ... 28 more Caused by: java.lang.ClassNotFoundException: ja at org.apache.catalina.loader.WebappCla sLoaderBase.java:1285) at org.apache.catalina.loader.WebappCla sLoaderBase.java:1119) ... 30 more Aug 25, 2019 1:12:08 PM org.apache.catalina.cor SEVERE: Exception sending context initialized e s org.springframework.web.context.ContextLoader org.springframework.beans.factory.BeanDefinitio tion parsing XML document from ServletContext r ]; nested exception is org.springframework.bean espaceHandler class [org.apache.cxf.jaxws.sprin [http://cxf.apache.org/jaxws]: problem with ha ss; nested exception is java.lang.NoClassDefFou tion at org.springframework.beans.factory.xm eanDefinitions(XmlBeanDefinitionReader.java:412 at org.springframework.beans.factory.xm nDefinitions(XmlBeanDefinitionReader.java:334) at org.springframework.beans.factory.xm nDefinitions(XmlBeanDefinitionReader.java:302) at org.springframework.beans.factory.su r.loadBeanDefinitions(AbstractBeanDefinitionRea at org.springframework.beans.factory.su r.loadBeanDefinitions(AbstractBeanDefinitionRea at org.springframework.beans.factory.su r.loadBeanDefinitions(AbstractBeanDefinitionRea at org.springframework.web.context.supp BeanDefinitions(XmlWebApplicationContext.java:1 at org.springframework.web.context.supp BeanDefinitions(XmlWebApplicationContext.java:9 at org.springframework.context.support. text.refreshBeanFactory(AbstractRefreshableAppl at org.springframework.context.support. FreshBeanFactory(AbstractApplicationContext.jav at org.springframework.context.support. h(AbstractApplicationContext.java:397) at org.springframework.web.context.Cont text(ContextLoader.java:282) at org.springframework.web.context.Cont xt(ContextLoader.java:204) at org.springframework.web.context.Cont zed(ContextLoaderListener.java:47) at org.apache.catalina.core.StandardCon t.java:4727) at org.apache.catalina.core.StandardCon t.java:5189) at org.apache.catalina.util.LifecycleBa at org.apache.catalina.core.ContainerBa java:1403) at org.apache.catalina.core.ContainerBa java:1393) at java.base/java.util.concurrent.Futur at java.base/java.util.concurrent.Threa lExecutor.java:1167) at java.base/java.util.concurrent.Threa olExecutor.java:641) at java.base/java.lang.Thread.run(Threa Caused by: org.springframework.beans.FatalBeanE r class [org.apache.cxf.jaxws.spring.NamespaceH .apache.org/jaxws]: problem with handler class xception is java.lang.NoClassDefFoundError: jav at org.springframework.beans.factory.xm .resolve(DefaultNamespaceHandlerResolver.java:1 at org.springframework.beans.factory.xm rseCustomElement(BeanDefinitionParserDelegate.j at org.springframework.beans.factory.xm rseCustomElement(BeanDefinitionParserDelegate.j at org.springframework.beans.factory.xm ader.parseBeanDefinitions(DefaultBeanDefinition at org.springframework.beans.factory.xm ader.registerBeanDefinitions(DefaultBeanDefinit at org.springframework.beans.factory.xm rBeanDefinitions(XmlBeanDefinitionReader.java:4 at org.springframework.beans.factory.xm eanDefinitions(XmlBeanDefinitionReader.java:390 ... 22 more Caused by: java.lang.NoClassDefFoundError: java at org.apache.cxf.jaxws.spring.Namespac va:34) at org.springframework.beans.factory.xm .resolve(DefaultNamespaceHandlerResolver.java:1 ... 28 more Caused by: java.lang.ClassNotFoundException: ja at org.apache.catalina.loader.WebappCla sLoaderBase.java:1285) at org.apache.catalina.loader.WebappCla sLoaderBase.java:1119) ... 30 more Aug 25, 2019 1:12:08 PM org.apache.catalina.cor SEVERE: One or more listeners failed to start. appropriate container log file Aug 25, 2019 1:12:13 PM org.apache.catalina.uti cureRandom INFO: Creation of SecureRandom instance for ses G] took [4,672] milliseconds. Aug 25, 2019 1:12:13 PM org.apache.catalina.cor SEVERE: Context [] startup failed due to previo SEVERE: Context [] failed in [org.apache.catali e. Allowing Tomcat to shutdown. Aug 25, 2019 1:12:13 PM org.apache.catalina.cor INFO: Closing Spring root WebApplicationContext WARNING: An illegal reflective access operation WARNING: Illegal reflective access by org.apach erBase (file:/D:/Desk18/Big%20Data%20Etl/Denodo LAB01/DEN70EDUD1202LAB01/webapp-runner.jar) to ls WARNING: Please consider reporting this to the a.loader.WebappClassLoaderBase WARNING: Use --illegal-access=warn to enable wa ive access operations WARNING: All illegal access operations will be Aug 25, 2019 1:12:13 PM org.apache.coyote.Abstr INFO: Starting ProtocolHandler [http-nio-8081] plese advise asap Thanks in advance Deepak Narang
user
25-08-2019 03:56:09 -0400

1 Answer

Hi, In the logs, I see the error "java.lang.NoClassDefFoundError" and this exception indicates that a java file is missing and which is causing the bat file to start. This could be because of the file is corrupted or you dont have enough permissions. You can try to download the zip file again from the on-demand course and try again to execute the file with administrator privileges. Besides that, starting from Denodo Platform 7.0 our recommendation is to use the Virtual Machine for doing the labs as the data sources needed for doing these labs are already available in the Virtual Machine and it is not needed to download files locally. For more information you can refer to the "Configuration" module of the on-demand course. Hope this helps!
Denodo Team
27-08-2019 03:12:56 -0400
You must sign in to add an answer. If you do not have an account, you can register here