Hi

I am getting this strange error in the target "compile-mapred-
classes:"  when compiling map-reduce on Mac OS X. The JAVA_HOME is
properly set , and if I remove <jsp-compile> from compile-mapred-
classes everything works fine. Is anything special is needed in order
to get jasper to work ?

When I try and compile on linux everything works fine. Do we need to supply extra parameters to build script?

thanks

[jsp-compile] java.lang.IllegalStateException: No Java compiler
available
[jsp-compile] at
org
.apache
.jasper
.JspCompilationContext.createCompiler(JspCompilationContext.java:224)
[jsp-compile] at org.apache.jasper.JspC.processFile(JspC.java:946)
[jsp-compile] at org.apache.jasper.JspC.execute(JspC.java:1094)
[jsp-compile] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[jsp-compile] at
sun
.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:
39)
[jsp-compile] at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[jsp-compile] at java.lang.reflect.Method.invoke(Method.java:597)
[jsp-compile] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
105)
[jsp-compile] at
org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:134)
[jsp-compile] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[jsp-compile] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown
Source)
[jsp-compile] at
sun
.reflect
.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:
25)
[jsp-compile] at java.lang.reflect.Method.invoke(Method.java:597)
[jsp-compile] at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:
105)
[jsp-compile] at org.apache.tools.ant.Task.perform(Task.java:348)
[jsp-compile] at org.apache.tools.ant.Target.execute(Target.java:357)
[jsp-compile] at org.apache.tools.ant.Target.performTasks(Target.java:
385)
[jsp-compile] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[jsp-compile] at
org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[jsp-compile] at
org
.apache
.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:
41)
[jsp-compile] at
org
.eclipse
.ant
.internal
.ui
.antsupport
.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[jsp-compile] at
org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[jsp-compile] at
org
.eclipse
.ant
.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:
423)
[jsp-compile] at
org
.eclipse
.ant
.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:
137)

BUILD FAILED
/Users/asifjan/Documents/eclipse_workspaces/gaia/hadoop-mapreduce-
trunk/build.xml:373: org.apache.jasper.JasperException:
java.lang.IllegalStateException: No Java compiler available


thanks



Reply via email to