Component with .lucee extension

Error creating a component with the .lucee ,

mycomp.lucee

component {

function init(){
return this;
}

}

ucee.runtime.exp.NativeException:class redefinition failed: attempted to
change superclass or interfaces
Java Stacktrace lucee.runtime.exp.TemplateException:
lucee.runtime.exp.NativeException:class redefinition failed: attempted to
change superclass or interfaces
at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:336)
at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:261)
at
lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:177)
at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:869)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:844)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:247)
at
lucee.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:102)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2240)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2232)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2197)
at lucee.runtime.engine.CFMLEngineImpl.service(CFMLEngineImpl.java:532)
at lucee.loader.servlet.LuceeServlet.service(LuceeServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)

This is a known issue on our todo list, with cfml you have the extensions
as a clear distinction between component (.cfc) and templates (.cfm).
For the Lucee dialect this distinction does not exists, so “mycomp.lucee”
was first compiled as a regular template in your case and then converted to
a component.
Problem is, Lucee is not able to update the existing class loaded as a
template, the only solution atm is to restart Lucee in that case.
This will be addressed asap.

MichaOn Wed, Apr 8, 2015 at 5:45 PM, mmm mmm <@mark> wrote:

Error creating a component with the .lucee ,

mycomp.lucee

component {

function init(){
return this;
}

}

ucee.runtime.exp.NativeException:class redefinition failed: attempted to
change superclass or interfaces
Java Stacktrace lucee.runtime.exp.TemplateException:
lucee.runtime.exp.NativeException:class redefinition failed: attempted to
change superclass or interfaces
at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:336)
at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:261)
at
lucee.runtime.PageSourceImpl.loadPageThrowTemplateException(PageSourceImpl.java:177)
at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:869)
at lucee.runtime.PageContextImpl._doInclude(PageContextImpl.java:897)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:844)
at lucee.runtime.PageContextImpl.doInclude(PageContextImpl.java:812)
at
lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:247)
at
lucee.runtime.listener.ModernAppListener.onRequest(ModernAppListener.java:102)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2240)
at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2232)
at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2197)
at
lucee.runtime.engine.CFMLEngineImpl.service(CFMLEngineImpl.java:532)
at lucee.loader.servlet.LuceeServlet.service(LuceeServlet.java:60)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
at
org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:610)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:537)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1085)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:658)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:222)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1556)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1513)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)


You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+unsubscribe@googlegroups.com.
To post to this group, send email to lucee@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/9bed502b-5f7a-435d-91ca-f9f637493228%40googlegroups.com
https://groups.google.com/d/msgid/lucee/9bed502b-5f7a-435d-91ca-f9f637493228%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.