Author Message
harrison
Joined: Apr 6, 2016
Messages: 8
Offline
Helio, I can build complete!

After maven install success!

But Run on Server failed...

java se 1.8.0.92

tomcat 6 or 8 both tried..

-------------------------------------------------------------------------------------------------------------------------------------------------------
Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 1 in the generated java file
The type com.avaya.collaboration.util.logger.Logger cannot be resolved. It is indirectly referenced from required .class files

An error occurred at line: 6 in the generated java file
Only a type can be imported. com.avaya.zephyr.platform.dal.api.ServiceDescriptor resolves to a package

An error occurred at line: 7 in the generated java file
Only a type can be imported. com.avaya.zephyr.platform.dal.api.ServiceUtil resolves to a package

An error occurred at line: 8 in the generated java file
Only a type can be imported. com.avaya.collaboration.dal.factory.CollaborationDataFactory resolves to a package

An error occurred at line: 9 in the generated java file
Only a type can be imported. com.avaya.collaboration.businessdata.api.ServiceData resolves to a package

An error occurred at line: 10 in the generated java file
Only a type can be imported. com.avaya.collaboration.util.logger.Logger resolves to a package

An error occurred at line: 133 in the jsp file: /AuthorizationToken.jsp
ServiceDescriptor cannot be resolved to a type
130: {
131: try
132: {
133: ServiceDescriptor serviceDescriptor = ServiceUtil.getServiceDescriptor();
134: if (serviceDescriptor == null)
135: return null;
136:


An error occurred at line: 133 in the jsp file: /AuthorizationToken.jsp
ServiceUtil cannot be resolved
130: {
131: try
132: {
133: ServiceDescriptor serviceDescriptor = ServiceUtil.getServiceDescriptor();
134: if (serviceDescriptor == null)
135: return null;
136:


An error occurred at line: 137 in the jsp file: /AuthorizationToken.jsp
ServiceData cannot be resolved to a type
134: if (serviceDescriptor == null)
135: return null;
136:
137: ServiceData serviceData = CollaborationDataFactory.getServiceData(
138: serviceDescriptor.getName(), serviceDescriptor.getVersion());
139: return serviceData.getServiceAttribute(KEY_WEB_RTC_SERVER_ADDRESS);
140: }


An error occurred at line: 137 in the jsp file: /AuthorizationToken.jsp
CollaborationDataFactory cannot be resolved
134: if (serviceDescriptor == null)
135: return null;
136:
137: ServiceData serviceData = CollaborationDataFactory.getServiceData(
138: serviceDescriptor.getName(), serviceDescriptor.getVersion());
139: return serviceData.getServiceAttribute(KEY_WEB_RTC_SERVER_ADDRESS);
140: }


An error occurred at line: 133 in the jsp file: /AuthorizationToken.jsp
ServiceDescriptor cannot be resolved to a type
130: {
131: try
132: {
133: ServiceDescriptor serviceDescriptor = ServiceUtil.getServiceDescriptor();
134: if (serviceDescriptor == null)
135: return null;
136:


An error occurred at line: 133 in the jsp file: /AuthorizationToken.jsp
ServiceUtil cannot be resolved
130: {
131: try
132: {
133: ServiceDescriptor serviceDescriptor = ServiceUtil.getServiceDescriptor();
134: if (serviceDescriptor == null)
135: return null;
136:


An error occurred at line: 137 in the jsp file: /AuthorizationToken.jsp
ServiceData cannot be resolved to a type
134: if (serviceDescriptor == null)
135: return null;
136:
137: ServiceData serviceData = CollaborationDataFactory.getServiceData(
138: serviceDescriptor.getName(), serviceDescriptor.getVersion());
139: return serviceData.getServiceAttribute(KEY_WEB_RTC_SERVER_ADDRESS);
140: }


An error occurred at line: 137 in the jsp file: /AuthorizationToken.jsp
CollaborationDataFactory cannot be resolved
134: if (serviceDescriptor == null)
135: return null;
136:
137: ServiceData serviceData = CollaborationDataFactory.getServiceData(
138: serviceDescriptor.getName(), serviceDescriptor.getVersion());
139: return serviceData.getServiceAttribute(KEY_WEB_RTC_SERVER_ADDRESS);
140: }


An error occurred at line: 133 in the jsp file: /AuthorizationToken.jsp
ServiceDescriptor cannot be resolved to a type
130: {
131: try
132: {
133: ServiceDescriptor serviceDescriptor = ServiceUtil.getServiceDescriptor();
134: if (serviceDescriptor == null)
135: return null;
136:


An error occurred at line: 133 in the jsp file: /AuthorizationToken.jsp
ServiceUtil cannot be resolved
130: {
131: try
132: {
133: ServiceDescriptor serviceDescriptor = ServiceUtil.getServiceDescriptor();
134: if (serviceDescriptor == null)
135: return null;
136:


An error occurred at line: 137 in the jsp file: /AuthorizationToken.jsp
ServiceData cannot be resolved to a type
134: if (serviceDescriptor == null)
135: return null;
136:
137: ServiceData serviceData = CollaborationDataFactory.getServiceData(
138: serviceDescriptor.getName(), serviceDescriptor.getVersion());
139: return serviceData.getServiceAttribute(KEY_WEB_RTC_SERVER_ADDRESS);
140: }


An error occurred at line: 137 in the jsp file: /AuthorizationToken.jsp
CollaborationDataFactory cannot be resolved
134: if (serviceDescriptor == null)
135: return null;
136:
137: ServiceData serviceData = CollaborationDataFactory.getServiceData(
138: serviceDescriptor.getName(), serviceDescriptor.getVersion());
139: return serviceData.getServiceAttribute(KEY_WEB_RTC_SERVER_ADDRESS);
140: }


Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:460)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:356)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:334)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:321)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:592)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:612)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:503)
at java.lang.Thread.run(Thread.java:745)
-------------------------------------------------------------------------------------------------------------------------------------------------------

What's the problem?

It is very frustrating...

help me plz...
Amit.Mishra
Joined: Dec 19, 2013
Messages: 34
Offline
Hi,
The sample application is created keeping in mind you would deploy this on a Breeze node.
If you want to deploy on a different container, you can re-use some code from the app but not use as it is.
The WebRTC Sample documentation and WeBRTC snap-in reference would guide you on how you can create an application which can run on a different container.

Thanks,
Amit.
Go to:   
Mobile view