maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carlos Sanchez" <car...@apache.org>
Subject Re: [INFO] Compilation failure m2 Compilation failure [error: IO exception sun.io.MalformedInputException]
Date Wed, 29 Mar 2006 07:45:17 GMT
FWIW I've seen this problem when the pom is encoded in a charset
different than the one declared in the xml header (UTF8 by default).
Under Sun's JDK there's no error but under IBM JDK it crashes with
sun.io.MalformedInputException

On 3/28/06, Gautham Pamu <gautham.pamu@gmail.com> wrote:
> mvn install or mvn compile is giving this error.. I am using IBM JDK 1.4.2.
>
> Did anyone come across this error and can you help me how to resolve it ?
>
> [INFO]
> ----------------------------------------------------------------------------
> [ERROR] BUILD FAILURE
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Compilation failure
>
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
> error: IO exception sun.io.MalformedInputException
>
> [INFO]
> ----------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:552)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle
> (DefaultLifecycleExecutor.java:472)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(
> DefaultLifecycleExecutor.java:451)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
> (DefaultLifecycleExecutor.java:303)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:270)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(
> DefaultLifecycleExecutor.java:139)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:85)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:58)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:60)
>         at java.lang.reflect.Method.invoke(Method.java:391)
>         at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
> :315)
>         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>         at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
> at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation
> failure
>         at org.apache.maven.plugin.AbstractCompilerMojo.execute(
> AbstractCompilerMojo.java:429)
>         at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java
> :110)
>         at org.apache.maven.plugin.DefaultPluginManager.executeMojo(
> DefaultPluginManager.java:415)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(
> DefaultLifecycleExecutor.java:531)
>         ... 17 more
> [INFO]
> ----------------------------------------------------------------------------
>
> --
> -Gautham Pamu
>
>


--
I could give you my word as a Spaniard.
No good. I've known too many Spaniards.
                             -- The Princess Bride

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message