Expand my Community achievements bar.

Can't Preview Form in MobileIVS

Avatar

Level 2

Hi All,

I'm trying to get a form working in the mobile ivs system but i'm getting this error below

Any ideas

Kind Regards

Kev

Unable to compile class for JSP: An error occurred at line: 6 in the generated java file Only a type can be imported. com.adobe.forms.service.LCFormsOptionService resolves to a package An error occurred at line: 7 in the generated java file Only a type can be imported. com.adobe.forms.admin.LCFormsAdminService resolves to a package An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp LCFormsOptionService cannot be resolved to a type 26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><% 27: %><sling:defineObjects/><% 28: %><% 29: LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class); 30: //read debugDir to pass it along with server API endpoint -- use it for debugging. 31: String debugDir = lcFormsOptionService.get(slingRequest, "debugDir"); 32: An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp LCFormsOptionService cannot be resolved to a type 26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><% 27: %><sling:defineObjects/><% 28: %><% 29: LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class); 30: //read debugDir to pass it along with server API endpoint -- use it for debugging. 31: String debugDir = lcFormsOptionService.get(slingRequest, "debugDir"); 32: An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp LCFormsAdminService cannot be resolved to a type 53: if(submitUrl == null) 54: submitUrl = ""; 55: //to enable logging options... 56: LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class); 57: formsAdminService.setupLogging (slingRequest); 58: String originalVersion = formsAdminService.getOriginalVersion(); 59: %><% An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp LCFormsAdminService cannot be resolved to a type 53: if(submitUrl == null) 54: submitUrl = ""; 55: //to enable logging options... 56: LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class); 57: formsAdminService.setupLogging (slingRequest); 58: String originalVersion = formsAdminService.getOriginalVersion(); 59: %><%

Cannot serve request to /lc/content/xfaforms/profiles/default.html in /libs/xfaforms/profile/html.jsp

Exception:

org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 6 in the generated java file

Only a type can be imported. com.adobe.forms.service.LCFormsOptionService resolves to a package

An error occurred at line: 7 in the generated java file

Only a type can be imported. com.adobe.forms.admin.LCFormsAdminService resolves to a package

An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp

LCFormsOptionService cannot be resolved to a type

26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><%

27: %><sling:defineObjects/><%

28: %><%

29:     LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class);

30:     //read debugDir to pass it along with server API endpoint -- use it for debugging.

31:     String debugDir = lcFormsOptionService.get(slingRequest, "debugDir");

32:

An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp

LCFormsOptionService cannot be resolved to a type

26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><%

27: %><sling:defineObjects/><%

28: %><%

29:     LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class);

30:     //read debugDir to pass it along with server API endpoint -- use it for debugging.

31:     String debugDir = lcFormsOptionService.get(slingRequest, "debugDir");

32:

An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp

LCFormsAdminService cannot be resolved to a type

53:     if(submitUrl == null)

54:         submitUrl = "";

55:     //to enable logging options...

56:     LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class);

57:     formsAdminService.setupLogging (slingRequest);

58:     String originalVersion = formsAdminService.getOriginalVersion();

59: %><%

An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp

LCFormsAdminService cannot be resolved to a type

53:     if(submitUrl == null)

54:         submitUrl = "";

55:     //to enable logging options...

56:     LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class);

57:     formsAdminService.setupLogging (slingRequest);

58:     String originalVersion = formsAdminService.getOriginalVersion();

59: %><%

    at org.apache.sling.scripting.jsp.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)

    at org.apache.sling.scripting.jsp.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)

    at org.apache.sling.scripting.jsp.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:421)

    at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:312)

    at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:290)

    at org.apache.sling.scripting.jsp.jasper.compiler.Compiler.compile(Compiler.java:277)

    at org.apache.sling.scripting.jsp.jasper.JspCompilationContext.compile(JspCompilationContext.java:501)

    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.prepareServlet(JspServletWrapper.java:427)

    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:486)

    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)

    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:241)

    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:86)

    at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:441)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)

    at com.day.cq.wcm.tags.IncludeTag.includeScript(IncludeTag.java:167)

    at com.day.cq.wcm.tags.IncludeTag.doEndTag(IncludeTag.java:87)

    at org.apache.jsp.libs.xfaforms.profile.html_jsp._jspx_meth_cq_005finclude_005f2(html_jsp.java:164)

    at org.apache.jsp.libs.xfaforms.profile.html_jsp._jspService(html_jsp.java:84)

    at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502)

    at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:449)

    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.callJsp(JspScriptEngineFactory.java:241)

    at org.apache.sling.scripting.jsp.JspScriptEngineFactory.access$100(JspScriptEngineFactory.java:86)

    at org.apache.sling.scripting.jsp.JspScriptEngineFactory$JspScriptEngine.eval(JspScriptEngineFactory.java:441)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.call(DefaultSlingScript.java:361)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.eval(DefaultSlingScript.java:171)

    at org.apache.sling.scripting.core.impl.DefaultSlingScript.service(DefaultSlingScript.java:463)

    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:508)

    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilterChain.java:45)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)

    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:148)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:333)

    at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:160)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProcessorImpl.java:254)

    at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChain.java:49)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:64)

    at com.day.cq.wcm.core.impl.warp.TimeWarpFilter.doFilter(TimeWarpFilter.java:106)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:290)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.adobe.livecycle.content.appcontext.impl.AppContextFilter.doFilter(AppContextFilter.java:58)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.adobe.livecycle.content.sling.impl.ResourceResolverFilter.doFilter(ResourceResolverFilter.java:34)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.adobe.livecycle.crx.security.SpringSecurityBridgeFilter.doFilter(SpringSecurityBridgeFilter.java:65)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgressTrackerLogFilter.java:59)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.java:220)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:76)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.adobe.granite.optout.impl.OptOutFilter.doFilter(OptOutFilter.java:74)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:90)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter.doFilter(CanvasPageDeleteRequestFilter.java:87)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:83)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:127)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServletStarterFilter.java:135)

    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilterChain.java:60)

    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcessorImpl.java:151)

    at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:206)

    at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:96)

    at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)

    at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java:42)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:49)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)

    at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:127)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)

    at com.adobe.granite.license.impl.LicenseCheckFilter.doFilter(LicenseCheckFilter.java:179)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)

    at org.apache.sling.security.impl.ReferrerFilter.doFilter(ReferrerFilter.java:259)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)

    at org.apache.felix.http.sslfilter.internal.SslFilter.doFilter(SslFilter.java:55)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)

    at org.apache.sling.engine.impl.log.RequestLoggerFilter.doFilter(RequestLoggerFilter.java:75)

    at org.apache.felix.http.base.internal.handler.FilterHandler.doHandle(FilterHandler.java:88)

    at org.apache.felix.http.base.internal.handler.FilterHandler.handle(FilterHandler.java:76)

    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFilterChain.java:47)

    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.java:33)

    at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java:48)

    at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)

    at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate.java:278)

    at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:174)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:183)

    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:95)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.internalProcess(ActiveRequestResponseCacheValve.java:74)

    at org.jboss.web.tomcat.service.request.ActiveRequestResponseCacheValve.invoke(ActiveRequestResponseCacheValve.java:47)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:599)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:451)

    at java.lang.Thread.run(Thread.java:724)

Request Progress:

      0 (2014-01-09 02:03:40) TIMER_START{Request Processing}

      0 (2014-01-09 02:03:40) COMMENT timer_end format is {<elapsed msec>,<timer name>} <optional message>

      0 (2014-01-09 02:03:40) LOG Method=GET, PathInfo=/content/xfaforms/profiles/default.html

      0 (2014-01-09 02:03:40) TIMER_START{ResourceResolution}

      0 (2014-01-09 02:03:40) TIMER_END{0,ResourceResolution} URI=/lc/content/xfaforms/profiles/default.html resolves to Resource=, type=nt:unstructured, path=/content/xfaforms/profiles/default, resource=[JcrNodeResource, type=nt:unstructured, superType=xfaforms/profile, path=/content/xfaforms/profiles/default]

      1 (2014-01-09 02:03:40) LOG Resource Path Info: SlingRequestPathInfo: path='/content/xfaforms/profiles/default', selectorString='null', extension='html', suffix='null'

      1 (2014-01-09 02:03:40) TIMER_START{ServletResolution}

      1 (2014-01-09 02:03:40) TIMER_START{resolveServlet(, type=nt:unstructured, path=/content/xfaforms/profiles/default, resource=[JcrNodeResource, type=nt:unstructured, superType=xfaforms/profile, path=/content/xfaforms/profiles/default])}

      1 (2014-01-09 02:03:40) TIMER_END{0,resolveServlet(, type=nt:unstructured, path=/content/xfaforms/profiles/default, resource=[JcrNodeResource, type=nt:unstructured, superType=xfaforms/profile, path=/content/xfaforms/profiles/default])} Using servlet /libs/xfaforms/profile/html.jsp

      1 (2014-01-09 02:03:40) TIMER_END{0,ServletResolution} URI=/lc/content/xfaforms/profiles/default.html handled by Servlet=/libs/xfaforms/profile/html.jsp

      1 (2014-01-09 02:03:40) LOG Applying Requestfilters

      1 (2014-01-09 02:03:40) LOG Calling filter: org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: org.apache.sling.i18n.impl.I18NFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.wcm.designimporter.CanvasPageDeleteRequestFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.wcm.core.impl.WCMRequestFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.adobe.granite.optout.impl.OptOutFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.theme.impl.ThemeResolverFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet

      1 (2014-01-09 02:03:40) LOG Calling filter: org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.adobe.livecycle.crx.security.SpringSecurityBridgeFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.adobe.livecycle.content.sling.impl.ResourceResolverFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.adobe.livecycle.content.appcontext.impl.AppContextFilter

      1 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter

      1 (2014-01-09 02:03:40) LOG RedirectFilter did not redirect (MobileUtil.isMobileResource() returns false)

      1 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.wcm.core.impl.warp.TimeWarpFilter

      1 (2014-01-09 02:03:40) LOG Applying Componentfilters

      1 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.wcm.core.impl.WCMComponentFilter

      2 (2014-01-09 02:03:40) LOG Calling filter: com.day.cq.wcm.core.impl.WCMDebugFilter

      2 (2014-01-09 02:03:40) TIMER_START{/libs/xfaforms/profile/html.jsp#0}

      2 (2014-01-09 02:03:40) LOG Including script formRuntime.jsp for path=/content/xfaforms/profiles/default, type=nt:unstructured: /libs/xfaforms/profile/formRuntime.jsp

      2 (2014-01-09 02:03:40) TIMER_START{/libs/xfaforms/profile/formRuntime.jsp}

      2 (2014-01-09 02:03:40) TIMER_END{0,/libs/xfaforms/profile/formRuntime.jsp}

      2 (2014-01-09 02:03:40) LOG Including script ../toolbar/toolbar.jsp for path=/content/xfaforms/profiles/default, type=nt:unstructured: /libs/xfaforms/toolbar/toolbar.jsp

      2 (2014-01-09 02:03:40) TIMER_START{/libs/xfaforms/toolbar/toolbar.jsp}

      3 (2014-01-09 02:03:40) TIMER_END{1,/libs/xfaforms/toolbar/toolbar.jsp}

      3 (2014-01-09 02:03:40) LOG Including script config.jsp for path=/content/xfaforms/profiles/default, type=nt:unstructured: /libs/xfaforms/profile/config.jsp

      3 (2014-01-09 02:03:40) TIMER_START{/libs/xfaforms/profile/config.jsp}

      3 (2014-01-09 02:03:40) LOG SCRIPT ERROR: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: //An error occurred at line: 6 in the generated java file/Only a type can be imported. com.adobe.forms.service.LCFormsOptionService resolves to a package//An error occurred at line: 7 in the generated java file/Only a type can be imported. com.adobe.forms.admin.LCFormsAdminService resolves to a package//An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsOptionService cannot be resolved to a type/26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><%/27: %><sling:defineObjects/><%/28: %><%/29:     LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class);/30:     //read debugDir to pass it along with server API endpoint -- use it for debugging./31:     String debugDir = lcFormsOptionService.get(slingRequest, "debugDir");/32: ///An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsOptionService cannot be resolved to a type/26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><%/27: %><sling:defineObjects/><%/28: %><%/29:     LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class);/30:     //read debugDir to pass it along with server API endpoint -- use it for debugging./31:     String debugDir = lcFormsOptionService.get(slingRequest, "debugDir");/32: ///An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsAdminService cannot be resolved to a type/53:     if(submitUrl == null)/54:         submitUrl = "";/55:     //to enable logging options.../56:     LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class);/57:     formsAdminService.setupLogging (slingRequest);/58:     String originalVersion = formsAdminService.getOriginalVersion();/59: %><%///An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsAdminService cannot be resolved to a type/53:     if(submitUrl == null)/54:         submitUrl = "";/55:     //to enable logging options.../56:     LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class);/57:     formsAdminService.setupLogging (slingRequest);/58:     String originalVersion = formsAdminService.getOriginalVersion();/59: %><%/

      4 (2014-01-09 02:03:40) LOG SCRIPT ERROR: org.apache.sling.scripting.jsp.jasper.JasperException: Unable to compile class for JSP: //An error occurred at line: 6 in the generated java file/Only a type can be imported. com.adobe.forms.service.LCFormsOptionService resolves to a package//An error occurred at line: 7 in the generated java file/Only a type can be imported. com.adobe.forms.admin.LCFormsAdminService resolves to a package//An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsOptionService cannot be resolved to a type/26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><%/27: %><sling:defineObjects/><%/28: %><%/29:     LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class);/30:     //read debugDir to pass it along with server API endpoint -- use it for debugging./31:     String debugDir = lcFormsOptionService.get(slingRequest, "debugDir");/32: ///An error occurred at line: 29 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsOptionService cannot be resolved to a type/26: %><%@taglib prefix="sling" uri="http://sling.apache.org/taglibs/sling/1.0"%><%/27: %><sling:defineObjects/><%/28: %><%/29:     LCFormsOptionService lcFormsOptionService = sling.getService(LCFormsOptionService.class);/30:     //read debugDir to pass it along with server API endpoint -- use it for debugging./31:     String debugDir = lcFormsOptionService.get(slingRequest, "debugDir");/32: ///An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsAdminService cannot be resolved to a type/53:     if(submitUrl == null)/54:         submitUrl = "";/55:     //to enable logging options.../56:     LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class);/57:     formsAdminService.setupLogging (slingRequest);/58:     String originalVersion = formsAdminService.getOriginalVersion();/59: %><%///An error occurred at line: 56 in the jsp file: /libs/xfaforms/profile/config.jsp/LCFormsAdminService cannot be resolved to a type/53:     if(submitUrl == null)/54:         submitUrl = "";/55:     //to enable logging options.../56:     LCFormsAdminService formsAdminService = sling.getService(LCFormsAdminService.class);/57:     formsAdminService.setupLogging (slingRequest);/58:     String originalVersion = formsAdminService.getOriginalVersion();/59: %><%/

      4 (2014-01-09 02:03:40) TIMER_END{2,/libs/xfaforms/profile/html.jsp#0}

      5 (2014-01-09 02:03:40) LOG Applying Error filters

      5 (2014-01-09 02:03:40) LOG Calling filter: org.apache.sling.rewriter.impl.RewriterFilter

      5 (2014-01-09 02:03:40) TIMER_START{handleError:throwable=org.apache.sling.scripting.jsp.jasper.JasperException}

     11 (2014-01-09 02:03:40) TIMER_END{6,handleError:throwable=org.apache.sling.scripting.jsp.jasper.JasperException} Using handler /libs/sling/servlet/errorhandler/default.jsp

     14 (2014-01-09 02:03:40) LOG Found processor for post processing ProcessorConfiguration: {contentTypes=[text/html],order=-1, active=true, valid=true, processErrorResponse=true, pipeline=(generator=Config(type=htmlparser, config={}), transformers=(Config(type=linkchecker, config={}), Config(type=mobile, config=org.apache.sling.jcr.resource.JcrPropertyMap@9daf94), Config(type=mobiledebug, config=org.apache.sling.jcr.resource.JcrPropertyMap@70721ddc), Config(type=contentsync, config=org.apache.sling.jcr.resource.JcrPropertyMap@54069030), serializer=Config(type=htmlwriter, config={}))}

     14 (2014-01-09 02:03:40) TIMER_END{14,Request Processing} Dumping SlingRequestProgressTracker Entries

1 Reply

Avatar

Level 2

You installation is not correct, it seems. Can you please try reinstalling Mobile Form.