Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] AJC problem : cannot implement public abstract...

Hi Emmanuel,

I wonder if there's a classpath problem here. What are the ant task parameters that maven is passing to AspectJ? Can you produce a verbose output from maven to see the classpath and other arguments passed to iajc? Does the same maven build work if you try to build using javac (without any aspects)?

Ron

Ron Bodkin
Chief Technology Officer
New Aspects of Security
m: (415) 509-2895

> ------------Original Message------------
> From: Emmanuel Boudrant <b7st@xxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Date: Wed, Nov-26-2003 6:25 AM
> Subject: [aspectj-users] AJC problem : cannot implement public abstract...
> 
> Hi,
> 
> I have a problem when I want to compile a J2EE project. The classpath I use for compiling with
> aspectJ is the same I use for runtime.
> I'm using aspectj 1.1.0 provided by (http://wwW.ibiblio.org/maven/aspectj/jars)
> 
> I think the problem came from weblogic.jar (I'm using weblogic 7.0.4).
> 
> Any idea ?
> 
> 
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> 
> aspectj:compile:
>     [ajc] Compiling 97 source and 0 arg files to
> C:\projects\Atlantic\wok\msl\monitoringservice\target\classes
> public ParameterMetaData PreparedStatement.getParameterMetaData() cannot implement public abstract
> ParameterMetaData 
> 
> PreparedStatement.getParameterMetaData(); attempting to use incompatible return type
> found   : weblogic.jdbc.sql30.ParameterMetaData
> required: java.sql.ParameterMetaData
> public ParameterMetaData PreparedStatement.getParameterMetaData() cannot implement public abstract
> ParameterMetaData 
> 
> PreparedStatement.getParameterMetaData(); attempting to use incompatible return type
> found   : weblogic.jdbc.sql30.ParameterMetaData
> required: java.sql.ParameterMetaData
> public ParameterMetaData CallableStatement.getParameterMetaData() cannot implement public abstract
> ParameterMetaData 
> 
> PreparedStatement.getParameterMetaData(); attempting to use incompatible return type
> found   : weblogic.jdbc.sql30.ParameterMetaData
> required: java.sql.ParameterMetaData
> public ParameterMetaData CallableStatement.getParameterMetaData() cannot implement public abstract
> ParameterMetaData 
> 
> PreparedStatement.getParameterMetaData(); attempting to use incompatible return type
> found   : weblogic.jdbc.sql30.ParameterMetaData
> required: java.sql.ParameterMetaData
> public ParameterMetaData CallableStatement.getParameterMetaData() cannot implement public abstract
> ParameterMetaData 
> 
> PreparedStatement.getParameterMetaData(); attempting to use incompatible return type
> found   : weblogic.jdbc.sql30.ParameterMetaData
> required: java.sql.ParameterMetaData
> 5 errors
> 
> BUILD FAILED
> File...... file:/C:/Documents and Settings/eboudrant/.maven/plugins/maven-aspectj-plugin-1.1/
> Element... ant:ajc
> Line...... 45
> Column.... 41
> Compilation error: -1
> Total time: 18 seconds
> Finished at: Wed Nov 26 14:26:23 CET 2003
> 
> Thx,
> -emmanuel
> 
> ___________________________________________________________
> Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
> Yahoo! Mail : http://fr.mail.yahoo.com
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 


Back to the top