Andy,

 You might be hitting the same issue as described in MNGECLIPSE-486

One thing to try is to run "Update Source Folders" action, but if it won't work, please attach your pom and settings file to that JIRA issue.

 Thanks

 Eugene


Andy Dingfelder wrote:
in case it is useful, I have included both my pom and my settings.xml

settings.xml:
<settings>
  <proxies>
    <proxy>
      <id>myproxy</id>
      <active>true</active>
      <protocol>http</protocol>
      <host>proxy.ourcompany.co.nz</host>
      <port>8080</port>
      <username></username>
      <password></password>
      <nonProxyHosts>localhost</nonProxyHosts>
    </proxy>
  </proxies>
  <servers>
  </servers>
  <mirrors>
  </mirrors>
  <profiles>
      <id>docsrc repos</id>
    <profile>
        <repositories>
          <repository>
            <id>docsrc</id>
            <name>DocSRC Repository for Maven2</name>
            <url>http://mirrors.dotsrc.org/maven2</url>
          </repository>
       </repositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>docsrc repos</activeProfile>
  </activeProfiles>
</settings>

pom:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>
  <modelVersion>4.0.0</modelVersion>
  <groupId>com.sirtrack</groupId>
  <artifactId>common_java</artifactId>
  <name>Common Java Library</name>
  <version>0.0.1</version>
  <build>
    <plugins>
      <plugin>
        <artifactId>maven-compiler-plugin</artifactId>
        <configuration>
          <source>1.6</source>
          <target>1.6</target>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <skip>true</skip>
        </configuration>
      </plugin>
      <!--plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>minijar-maven-plugin</artifactId>
        <configuration>
          <createUeberJar>true</createUeberJar>
        </configuration>
      </plugin-->
      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <mainClass>com.sirtrack.common.Common</mainClass>
              <classpathPrefix>lib</classpathPrefix>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>
      <plugin>
        <artifactId>maven-dependency-plugin</artifactId>
        <executions>
          <execution>
            <id>copy-dependencies</id>
            <phase>package</phase>
            <goals>
              <goal>copy-dependencies</goal>
            </goals>
            <configuration>
              <outputDirectory>${project.build.directory}</outputDirectory>
              <overWriteReleases>false</overWriteReleases>
              <overWriteSnapshots>true</overWriteSnapshots>
            </configuration>
          </execution>
        </executions>
      </plugin>
    </plugins>
  </build>
  <dependencies>
    <dependency>
      <groupId>log4j</groupId>
      <artifactId>log4j</artifactId>
      <version>1.2.14</version>
    </dependency>
    <dependency>
      <groupId>javax.help</groupId>
      <artifactId>javahelp</artifactId>
      <version>2.0.02</version>
    </dependency>
    <dependency>
      <groupId>com.lowagie</groupId>
      <artifactId>itext</artifactId>
      <version>2.0.6</version>
    </dependency>
    <dependency>
      <groupId>commons-net</groupId>
      <artifactId>commons-net</artifactId>
      <version>1.4.1</version>
    </dependency>
    <dependency>
      <groupId>commons-io</groupId>
      <artifactId>commons-io</artifactId>
      <version>1.3.1</version>
    </dependency>
    <dependency>
      <groupId>net.sourceforge.jtds</groupId>
      <artifactId>jtds</artifactId>
      <version>1.2</version>
    </dependency>
    <dependency>
      <groupId>com.jgoodies</groupId>
      <artifactId>looks</artifactId>
      <version>2.0.4</version>
    </dependency>
    <dependency>
      <groupId>mysql</groupId>
      <artifactId>mysql-connector-java</artifactId>
      <version>5.0.4</version>
    </dependency>
    <dependency>
      <groupId>javax.servlet.jsp</groupId>
      <artifactId>jsp-api</artifactId>
      <version>2.1</version>
    </dependency>
    <dependency>
      <groupId>com.thoughtworks.xstream</groupId>
      <artifactId>xstream</artifactId>
      <version>1.1.3</version>
    </dependency>
    <dependency>
      <groupId>com.serialio</groupId>
      <artifactId>serialio</artifactId>
      <version>7.5</version>
        <scope>system</scope>
        <systemPath>
                c:/projects/java.3rdparty/jars/Serialio-7.5.jar
<!--                c:/projects/java.3rdparty/jars/Serialio-7.5.jar  -->
<!--                /home/dingfelder/workspace/java.3rdParty/jars/Serialio-7.5.jar 
-->
        </systemPath>
    </dependency>
    <dependency>
      <groupId>org.hsqldb</groupId>
      <artifactId>hsqldb</artifactId>
      <version>1.8.0.9</version>
      <scope>system</scope>
<systemPath> c:/projects/java.3rdparty/jars/hsqldb-1.8.0.9.jar <!-- c:/projects/java.3rdparty/jars/hsqldb-1.8.0.1.jar -->
<!--                
/home/dingfelder/workspace/java.3rdParty/jars/hsqldb-1.8.0.1.jar  -->
</systemPath> </dependency>

    <dependency>
      <groupId>oro</groupId>
      <artifactId>oro</artifactId>
      <version>2.0.8</version>
    </dependency>
    <dependency>
      <groupId>com.sirtrack</groupId>
      <artifactId>common_fonts</artifactId>
      <version>0.0.1</version>
      <scope>system</scope>
        <systemPath>
                c:/projects/java.common.fonts/target/common_fonts-0.0.1.jar
<!--                c:/projects/java.common.images/target/common_fonts-0.0.1.jar 
-->
<!--                
/home/dingfelder/workspace/java.common.images/target/common_fonts-0.0.1.jar -->
        </systemPath>
    </dependency>
    <dependency>
      <groupId>com.sirtrack</groupId>
      <artifactId>common_images</artifactId>
      <version>0.0.1</version>
      <scope>system</scope>
        <systemPath>
                c:/projects/java.common.images/target/common_images-0.0.1.jar
<!--                c:/projects/java.common.images/target/common_images-0.0.1.jar 
-->
<!--                
/home/dingfelder/workspace/java.common.images/target/common_images-0.0.1.jar -->
        </systemPath>
    </dependency>
    <!--  dependency>
      <groupId>com.toedter</groupId>
      <artifactId>jcalendar</artifactId>
      <version>1.3.2</version>
        <scope>system</scope>
            <systemPath>
                c:/projects/java.3rdparty/jars/jcalendar-1.3.2.jar  -->
<!--                c:/projects/java.3rdparty/jars/jcalendar-1.3.2.jar  -->
<!--                
/home/dingfelder/workspace/java.3rdParty/jars/jcalendar-1.3.2.jar -->
            <!--  /systemPath>
    </dependency -->
    <dependency>
      <groupId>com.lavantech</groupId>
      <artifactId>timedatepicker</artifactId>
      <version>2.7</version>
        <scope>system</scope>
            <systemPath>
                c:/projects/java.3rdparty/jars/DateTimePicker2.7.jar
<!--                c:/projects/java.3rdparty/jars/DateTimePicker2.7.jar  -->
<!--                
/home/dingfelder/workspace/java.3rdParty/jars/DateTimePicker2.7.jar -->
            </systemPath>
    </dependency>
    <dependency>
      <groupId>swinghelper</groupId>
      <artifactId>JXLayer</artifactId>
      <version>1.1</version>
        <scope>system</scope>
            <systemPath>
                c:/projects/java.3rdparty/jars/JXLayer.jar
<!--                c:/projects/java.3rdparty/jars/JXLayer.jar  -->
<!--                /home/dingfelder/workspace/java.3rdParty/jars/JXLayer.jar 
-->
            </systemPath>
    </dependency>
    <dependency>
      <groupId>com.jhlabs</groupId>
      <artifactId>jhlabs-projection</artifactId>
      <version>1.0.4</version>
        <scope>system</scope>
            <systemPath>
                c:/projects/java.3rdparty/jars/jhlabs-projection-1.0.4.jar
<!--                c:/projects/java.3rdparty/jars/jhlabs-projection-1.0.4.jar  
-->
<!--                
/home/dingfelder/workspace/java.3rdParty/jars/jhlabs-projection-1.0.4.jar -->
            </systemPath>
    </dependency>
    <dependency>
      <groupId>com.jhlabs</groupId>
      <artifactId>jhlabs-projection</artifactId>
      <version>1.0.4</version>
        <scope>system</scope>
            <systemPath>
                c:/projects/java.3rdparty/jars/derbyclient.jar
<!--                c:/projects/java.3rdparty/jars/jhlabs-projection-1.0.4.jar  
-->
<!--                
/home/dingfelder/workspace/java.3rdParty/jars/jhlabs-projection-1.0.4.jar -->
            </systemPath>
    </dependency>
    <!-- dependency>
         <groupId>org.apache.derby</groupId>
         <artifactId>derbyclient</artifactId>
         <version>10.3.2.1</version>
    </dependency-->
  </dependencies>
</project>


"Andy Dingfelder" <[EMAIL PROTECTED]> 14/03/2008 9:55:17 a.m. >>>
any thoughts on this?  it has really stopped my work and if there is no fix, I 
will have to roll back to the old version.

This happens on both my Linux and windows versions.

"Andy Dingfelder" <[EMAIL PROTECTED]> 13/03/2008 4:02:57 p.m. >>>
When using the new version, I get a Exception in thread "AWT-EventQueue-0" 
java.lang.NoClassDefFoundError:
when trying to access code in one of the jars I am using.

Basically, with the old version (0.0.12) it would build and run.
Now it will build but not run

The section of my pom what refers to the jar I am including is:

    <dependency>
      <groupId>com.serialio</groupId>
      <artifactId>serialio</artifactId>
      <version>7.5</version>
        <scope>system</scope>
        <systemPath>
                c:/projects/java.3rdparty/jars/Serialio-7.5.jar
<!--                /home/myname/workspace/java.3rdParty/jars/Serialio-7.5.jar 
-->
        </systemPath>
    </dependency>

is there something new I need to do (to set up the classpath) for eclipse with 
the new version?

My jars are created properly by the build as I can run the app outside of the 
IDE manually using the jars created by the build process

thoughts?

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please consider the environment before printing this email

WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied or
disseminated by anyone receiving them in error. If you are not the intended 
recipient,
please notify the sender by return email and delete this message and any 
attachments.

The views expressed in this email are those of the sender and do not 
necessarily reflect
the official views of SirTrack. see http://www.sirtrack.com +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please consider the environment before printing this email

WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied or
disseminated by anyone receiving them in error. If you are not the intended 
recipient,
please notify the sender by return email and delete this message and any 
attachments.

The views expressed in this email are those of the sender and do not 
necessarily reflect
the official views of SirTrack. see http://www.sirtrack.com +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Please consider the environment before printing this email

WARNING: This email and any attachments may be confidential and/or privileged.
They are intended for the addressee only and are not to be read, used, copied or
disseminated by anyone receiving them in error. If you are not the intended 
recipient,
please notify the sender by return email and delete this message and any 
attachments.

The views expressed in this email are those of the sender and do not 
necessarily reflect
the official views of SirTrack. see   http://www.sirtrack.com
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email




---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to