portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Evangelos Vlachogiannis <evl...@aegean.gr>
Subject Re: compilation error
Date Sun, 06 May 2007 14:43:38 GMT
Hi,

I have found what caused the problem
having JAVA_HOME= jdk1.6 I get the following error

changing that to JAVA_HOME=jdk1.5.0_06
It builds..

BR,
Vangelis


Evangelos Vlachogiannis wrote:
> Hi List,
>
> After sync with latest j2 trunk clean and mvn I get following 
> compilation error. Any ideas please?
>
> BR,
> Vangelis
>
> C:\dev\workplace\jetspeed-2\components\rdbms\src\java\org\ap
> ache\jetspeed\components\rdbms\ojb\ConnectionRepositoryEntry
> .java:[408,12] org.apache.jetspeed.components.rdbms.ojb.Conn
> ectionRepositoryEntry.MinimalDataSource is not abstract and
> does not override abstract method isWrapperFor(java.lang.Cla
> ss) in java.sql.Wrapper
>
>
> [INFO] -----------------------------------------------------
> -------------------
> [INFO] Trace
> org.apache.maven.BuildFailureException: Compilation failure
> C:\dev\workplace\jetspeed-2\components\rdbms\src\java\org\ap
> ache\jetspeed\components\rdbms\ojb\ConnectionRepositoryEntry
> .java:[408,12] org.apache.jetspeed.components.rdbms.ojb.Conn
> ectionRepositoryEntry.MinimalDataSource is not abstract and
> does not override abstract method isWrapperFor(java.lang.Cla
> ss) in java.sql.Wrapper
>
>
>         at org.apache.maven.lifecycle.DefaultLifecycleExecut
> or.executeGoals(DefaultLifecycleExecutor.java:555)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecut
> or.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:47
> 5)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecut
> or.executeGoal(DefaultLifecycleExecutor.java:454)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecut
> or.executeGoalAndHandleFailures(DefaultLifecycleExecutor.jav
> a:306)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecut
> or.executeTaskSegments(DefaultLifecycleExecutor.java:273)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecut
> or.execute(DefaultLifecycleExecutor.java:140)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMa
> ven.java:322)
>         at org.apache.maven.DefaultMaven.execute(DefaultMave
> n.java:115)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:
> 256)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Nati
> ve Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Nativ
> eMethodAccessorImpl.java:39)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
> elegatingMethodAccessorImpl.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.mainWithExitCod
> e(Launcher.java:430)
>         at org.codehaus.classworlds.Launcher.main(Launcher.j
> ava:375)
> Caused by: org.apache.maven.plugin.CompilationFailureExcepti
> on: Compilation failure
> C:\dev\workplace\jetspeed-2\components\rdbms\src\java\org\ap
> ache\jetspeed\components\rdbms\ojb\ConnectionRepositoryEntry
> .java:[408,12] org.apache.jetspeed.components.rdbms.ojb.Conn
> ectionRepositoryEntry.MinimalDataSource is not abstract and
> does not override abstract method isWrapperFor(java.lang.Cla
> ss) in java.sql.Wrapper
>
>
>         at org.apache.maven.plugin.AbstractCompilerMojo.exec
> ute(AbstractCompilerMojo.java:516)
>         at org.apache.maven.plugin.CompilerMojo.execute(Comp
> ilerMojo.java:114)
>         at org.apache.maven.plugin.DefaultPluginManager.exec
> uteMojo(DefaultPluginManager.java:412)
>         at org.apache.maven.lifecycle.DefaultLifecycleExecut
> or.executeGoals(DefaultLifecycleExecutor.java:534)
>         ... 16 more
> [INFO] -----------------------------------------------------
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
> For additional commands, e-mail: jetspeed-dev-help@portals.apache.org
>
>
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message