maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [jira] Created: (MAVEN-1524) Classpath problem?
Date Wed, 01 Dec 2004 17:25:11 GMT

  A new issue has been created in JIRA.

View the issue:

Here is an overview of the issue:
        Key: MAVEN-1524
    Summary: Classpath problem?
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven

   Reporter: Doug Knesek

    Created: Wed, 1 Dec 2004 12:24 PM
    Updated: Wed, 1 Dec 2004 12:24 PM
Environment: Windows 2000

It appears that Maven is including a newer version of rt.jar on 
the classpath in front of the one that I referenced in my 

I have a class that implements PreparedStatement from the 
IBM Java(tm)2 SDK, Standard Edition, v 1.3.1. I include the rt.jar 
containing this class in my dependencies. I get the following 
error when I run "maven jar": 

...\ ...MyPreparedStatement is not 
abstract and does not override abstract method 
getParameterMetaData() in java.sql.PreparedStatement public 
class MyPreparedStatement implements 
java.sql.PreparedStatement { 

As far as I can tell, getParameterMetaData() is not defined until 
Java 1.4.2. I do have Java 1.4.2 installed on my machine (in 
fact, my JAVA_HOME=C:\j2sdk1.4.2_05). 

I'm guessing that maven is including the C:\j2sdk1.4.2_05 
\jre\lib\rt.jar in my classpath. 

1) Is this a bug?
2) Why is this happening? 
3) How do I fix it? 

Thank you. 

- Doug

This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:

If you want more information on JIRA, or have a bug to report see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message