You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ad...@eFunds.com on 2002/06/10 22:18:36 UTC

Cocoon sitmap compilation error in WebSphere

Cocoon users far and near,

I am trying to run Cocoon in the WebSphere test environment for development
and I got everythign to compile and publish.

But, when the sitemap tries to compile I recieve the below.

Any suggestions?

type fatal


message Error compiling sitemap


description org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.Error: Unresolved compilation problems: sun.tools.javac cannot be
resolved or is not a type sun.tools.javac cannot be resolved or is not a
type


sender org.apache.cocoon.servlet.CocoonServlet


source Cocoon servlet


stack-trace
org.apache.cocoon.ProcessingException: Error compiling sitemap:
java.lang.Error: Unresolved compilation problems:
             sun.tools.javac cannot be resolved or is not a type
             sun.tools.javac cannot be resolved or is not a type

             at org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
             at java.lang.Thread.run(Thread.java:498)
java.lang.Error: Unresolved compilation problems:
             sun.tools.javac cannot be resolved or is not a type
             sun.tools.javac cannot be resolved or is not a type

             at java.lang.reflect.Constructor.newInstance(Native Method)
             at
org.apache.cocoon.components.language.programming.java.Javac.compile(Javac.java:111)

             at
org.apache.cocoon.components.language.programming.java.JavaLanguage.compile(JavaLanguage.java:225)

             at
org.apache.cocoon.components.language.programming.CompiledProgrammingLanguage.load(CompiledProgrammingLanguage.java:197)

             at
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.load(ProgramGeneratorImpl.java:245)

             at org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
             at java.lang.Thread.run(Thread.java:498)



request-uri
/cocoon/servlet/org.apache.cocoon.servlet.CocoonServlet


path-info
servlet/org.apache.cocoon.servlet.CocoonServlet



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


RE: Cocoon sitmap compilation error in WebSphere

Posted by Vadim Gritsenko <va...@verizon.net>.
> From: Adam_Waldal@eFunds.com [mailto:Adam_Waldal@eFunds.com]
> 
> Cocoon users far and near,
> 
> I am trying to run Cocoon in the WebSphere test environment for
development
> and I got everythign to compile and publish.
> 
> But, when the sitemap tries to compile I recieve the below.
> 
> Any suggestions?

Try latest Cocoon version.

Vadim


> type fatal
> 
> 
> message Error compiling sitemap
> 
> 
> description org.apache.cocoon.ProcessingException: Error compiling
sitemap:
> java.lang.Error: Unresolved compilation problems: sun.tools.javac
cannot be
> resolved or is not a type sun.tools.javac cannot be resolved or is not
a
> type
> 
> 
> sender org.apache.cocoon.servlet.CocoonServlet
> 
> 
> source Cocoon servlet
> 
> 
> stack-trace
> org.apache.cocoon.ProcessingException: Error compiling sitemap:
> java.lang.Error: Unresolved compilation problems:
>              sun.tools.javac cannot be resolved or is not a type
>              sun.tools.javac cannot be resolved or is not a type
> 
>              at
org.apache.cocoon.sitemap.Handler.run(Handler.java:295)
>              at java.lang.Thread.run(Thread.java:498)
> java.lang.Error: Unresolved compilation problems:
>              sun.tools.javac cannot be resolved or is not a type
>              sun.tools.javac cannot be resolved or is not a type
> 
>              at java.lang.reflect.Constructor.newInstance(Native
Method)
>              at
>
org.apache.cocoon.components.language.programming.java.Javac.compile(Jav
ac.jav
> a:111)
> 
>              at
>
org.apache.cocoon.components.language.programming.java.JavaLanguage.comp
ile(Ja
> vaLanguage.java:225)
> 
>              at
>
org.apache.cocoon.components.language.programming.CompiledProgrammingLan
guage.
> load(CompiledProgrammingLanguage.java:197)
> 
>              at
>
org.apache.cocoon.components.language.generator.ProgramGeneratorImpl.loa
d(Prog
> ramGeneratorImpl.java:245)
> 
>              at
org.apache.cocoon.sitemap.Handler.run(Handler.java:270)
>              at java.lang.Thread.run(Thread.java:498)
> 
> 
> 
> request-uri
> /cocoon/servlet/org.apache.cocoon.servlet.CocoonServlet
> 
> 
> path-info
> servlet/org.apache.cocoon.servlet.CocoonServlet
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question  has not already been answered in the
> FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@xml.apache.org>



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>