You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by prasad iyer <g_...@yahoo.co.uk> on 2007/03/03 00:07:48 UTC
Exception while running maven
Hi,
I have just downloaded the entire source from svn. I
tried to build it but command
mvn -e clean install -Dassemble
I get the following exception
C:\Workspace\projectst\openejb3\container\openejb-core\src\main\java\org\apache\openejb\resource\jdbc\JdbcConnectionFactory.java:[30,7]
org.apache.openejb.resource.jdbc.JdbcConnectionFactory
is not abstract and does not override abstract method
isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
C:\Workspace\projectst\openejb3\container\openejb-core\src\main\java\org\apache\openejb\resource\jdbc\JdbcConnection.java:[26,7]
org.apache.openejb.resource.jdbc.JdbcConnection is not
abstract and does not override abstract method
createStruct(java.lang.String,java.lang.Object[]) in
java.sql.Connection
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation
failure
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
at
org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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:516)
at
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
... 16 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 1 minute 10 seconds
[INFO] Finished at: Fri Mar 02 10:34:56 PST 2007
[INFO] Final Memory: 20M/63M
[INFO]
------------------------------------------------------------------------
___________________________________________________________
All New Yahoo! Mail Tired of unwanted email come-ons? Let our SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
Re: Exception while running maven
Posted by prasad iyer <g_...@yahoo.co.uk>.
Thanks for the reply. You are right I have jdk 1.6
installed I would give it a try with jdk 1.5.
cheers
--- David Blevins <da...@visi.com> wrote:
> You on JDK 1.6 by any chance? If so, give it a try
> with JDK 1.5 and
> it should work great.
>
> There's been some general discussion on supporting
> (compiling on)
> both JDK 1.6 and 1.5 and we weren't able to come up
> with anything
> particularly pleasing that didn't result in loosing
> compile support
> for JDK 1.5.
>
> If you have any ideas, we're all ears.
>
> -David
>
> On Mar 2, 2007, at 3:07 PM, prasad iyer wrote:
>
> > Hi,
> > I have just downloaded the entire source from svn.
> I
> > tried to build it but command
> > mvn -e clean install -Dassemble
> >
> > I get the following exception
> >
> >
> >
>
C:\Workspace\projectst\openejb3\container\openejb-core\src\main\java
>
> >
>
\org\apache\openejb\resource\jdbc\JdbcConnectionFactory.java:[30,7]
> >
>
org.apache.openejb.resource.jdbc.JdbcConnectionFactory
> > is not abstract and does not override abstract
> method
> > isWrapperFor(java.lang.Class<?>) in
> java.sql.Wrapper
> >
> >
>
C:\Workspace\projectst\openejb3\container\openejb-core\src\main\java
>
> >
>
\org\apache\openejb\resource\jdbc\JdbcConnection.java:[26,7]
> > org.apache.openejb.resource.jdbc.JdbcConnection is
> not
> > abstract and does not override abstract method
> > createStruct(java.lang.String,java.lang.Object[])
> in
> > java.sql.Connection
> >
> >
> > [INFO]
> >
>
----------------------------------------------------------------------
>
> > --
> > [INFO] Trace
> > org.apache.maven.BuildFailureException:
> Compilation
> > failure
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>
> > (DefaultLifecycleExecutor.java:560)
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif
>
> > ecycle(DefaultLifecycleExecutor.java:480)
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
>
> > (DefaultLifecycleExecutor.java:459)
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
>
> > leFailures(DefaultLifecycleExecutor.java:311)
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
>
> > s(DefaultLifecycleExecutor.java:278)
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
>
> > (DefaultLifecycleExecutor.java:143)
> > at
> >
>
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> > at
> >
>
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> > at
> >
>
org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> > at
> >
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> > Method)
> > at
> > sun.reflect.NativeMethodAccessorImpl.invoke
> > (NativeMethodAccessorImpl.java:39)
> > at
> > sun.reflect.DelegatingMethodAccessorImpl.invoke
> > (DelegatingMethodAccessorImpl.java:25)
> > at
> java.lang.reflect.Method.invoke(Method.java:597)
> > 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:516)
> > at
> >
>
org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> > at
> >
>
org.apache.maven.plugin.DefaultPluginManager.executeMojo
>
> > (DefaultPluginManager.java:420)
> > at
> >
>
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
>
> > (DefaultLifecycleExecutor.java:539)
> > ... 16 more
> > [INFO]
> >
>
----------------------------------------------------------------------
>
> > --
> > [INFO] Total time: 1 minute 10 seconds
> > [INFO] Finished at: Fri Mar 02 10:34:56 PST 2007
> > [INFO] Final Memory: 20M/63M
> > [INFO]
> >
>
----------------------------------------------------------------------
>
> > --
> >
> >
> >
> >
> >
>
___________________________________________________________
> > All New Yahoo! Mail Tired of unwanted email
> come-ons? Let our
> > SpamGuard protect you.
> http://uk.docs.yahoo.com/nowyoucan.html
> >
>
>
___________________________________________________________
Now you can scan emails quickly with a reading pane. Get the new Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
Re: Exception while running maven
Posted by David Blevins <da...@visi.com>.
You on JDK 1.6 by any chance? If so, give it a try with JDK 1.5 and
it should work great.
There's been some general discussion on supporting (compiling on)
both JDK 1.6 and 1.5 and we weren't able to come up with anything
particularly pleasing that didn't result in loosing compile support
for JDK 1.5.
If you have any ideas, we're all ears.
-David
On Mar 2, 2007, at 3:07 PM, prasad iyer wrote:
> Hi,
> I have just downloaded the entire source from svn. I
> tried to build it but command
> mvn -e clean install -Dassemble
>
> I get the following exception
>
>
> C:\Workspace\projectst\openejb3\container\openejb-core\src\main\java
> \org\apache\openejb\resource\jdbc\JdbcConnectionFactory.java:[30,7]
> org.apache.openejb.resource.jdbc.JdbcConnectionFactory
> is not abstract and does not override abstract method
> isWrapperFor(java.lang.Class<?>) in java.sql.Wrapper
>
> C:\Workspace\projectst\openejb3\container\openejb-core\src\main\java
> \org\apache\openejb\resource\jdbc\JdbcConnection.java:[26,7]
> org.apache.openejb.resource.jdbc.JdbcConnection is not
> abstract and does not override abstract method
> createStruct(java.lang.String,java.lang.Object[]) in
> java.sql.Connection
>
>
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation
> failure
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (DefaultLifecycleExecutor.java:560)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLif
> ecycle(DefaultLifecycleExecutor.java:480)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal
> (DefaultLifecycleExecutor.java:459)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHand
> leFailures(DefaultLifecycleExecutor.java:311)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegment
> s(DefaultLifecycleExecutor.java:278)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute
> (DefaultLifecycleExecutor.java:143)
> at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
> at
> org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
> at
> org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke
> (NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke
> (DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> 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:516)
> at
> org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
> at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo
> (DefaultPluginManager.java:420)
> at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals
> (DefaultLifecycleExecutor.java:539)
> ... 16 more
> [INFO]
> ----------------------------------------------------------------------
> --
> [INFO] Total time: 1 minute 10 seconds
> [INFO] Finished at: Fri Mar 02 10:34:56 PST 2007
> [INFO] Final Memory: 20M/63M
> [INFO]
> ----------------------------------------------------------------------
> --
>
>
>
>
> ___________________________________________________________
> All New Yahoo! Mail – Tired of unwanted email come-ons? Let our
> SpamGuard protect you. http://uk.docs.yahoo.com/nowyoucan.html
>