hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Sammer <esam...@cloudera.com>
Subject Re: Error compiling mapreduce
Date Thu, 17 Jun 2010 03:41:41 GMT
This is usually due to a missing jasper-compiler-*.jar from your
classpath. Make sure you have updated the dependencies for the build
(usually done automatically by ant or manually with ant ivy-retrieve
from the top level directory). You may want to just do a clean and
build again.

Hope this helps.

On Wed, Jun 16, 2010 at 8:36 AM, Asif Jan <Asif.Jan@unige.ch> wrote:
>
> 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 ?
>
> 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
>
>
>



-- 
Eric Sammer
twitter: esammer
data: www.cloudera.com

Mime
View raw message