I think you changed the package for com.heartlab.ws.services.HelloServiceWS
Regards, Nishant Sonar Synechron Technologies -----Original Message----- From: Kyle.Bober [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 4:46 PM To: [email protected] Subject: jaxws-maven-plugin jaxws:wsgen - Could not find class file I had the jaxws-maven-plugin working fine with a simple Java WebService... It worked fin up until an hour or so ago and I am not sure what I changed that caused the issue... Has anyone else seen this error before... It must be a something stupid simple that I am missing... The WebService runs fine when I deploy it on Jboss4.2... Any help in advance is much appreciated! Thanks, Kyle <?xml version="1.0" encoding="UTF-8"?> <project> <modelVersion>4.0.0</modelVersion> <groupId>com.heartlab.ws</groupId> <artifactId>WebSendServices</artifactId> <packaging>war</packaging> <version>0.0.1</version> <parent> <groupId>com.heartlab.ws</groupId> <artifactId>WebSendParentPOM</artifactId> <version>0.0.1</version> <relativePath>../WebSendParentPOM/pom.xml</relativePath> </parent> <build> <finalName>${pom.artifactId}</finalName> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.5</source> <target>1.5</target> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jaxws-maven-plugin</artifactId> <executions> <execution> <goals> <goal>wsgen</goal> <goal>wsimport</goal> <goal>wsgen-test</goal> </goals> </execution> </executions> <configuration> <sei>com.heartlab.ws.services.HelloServiceWS</sei> <genWsdl>true</genWsdl> <keep>true</keep> <protocol>soap1.1</protocol> <!-- <protocol>Xsoap1.2</protocol> --> <!-- JAX-WS Target Version --> <target>2.1.1</target> <verbose>true</verbose> <wsdlDirectory>${project.build.directory}/jaxws/wsgen/wsdl</wsdlDirector y> <!-- <sourceDestDir>target/temp</sourceDestDir> --> <packageName>com.heartlab.ws.services</packageName> </configuration> <!-- if you want to use a specific version of JAX-WS, you can do so like this --> <dependencies> <groupId>javax.jws</groupId> <artifactId>jaxws-tools</artifactId> <version>2.1.1</version> </dependencies> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>jboss-maven-plugin</artifactId> <!-- Make this dynamic somehow to support multiple server configurations --> <configuration> <jbossHome>${appserver.url}</jbossHome> <port>${appserver.port}</port> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.heartlab.ws</groupId> <artifactId>WebSendUtility</artifactId> <version>0.0.1</version> <scope>compile</scope> </dependency> <dependency> <groupId>javax.annotation</groupId> <artifactId>jsr250-api</artifactId> <version>1.0</version> <scope>provided</scope> </dependency> <!-- JAX-WS Annotations --> <dependency> <groupId>javax.jws</groupId> <artifactId>jsr181-api</artifactId> <version>1.0-MR1</version> <scope>provided</scope> </dependency> <dependency> <groupId>javax.jws</groupId> <artifactId>jaxws-api</artifactId> <version>2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.1</version> <scope>test</scope> </dependency> <dependency> <groupId>commons-logging</groupId> <artifactId>commons-logging</artifactId> <version>1.0.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.12</version> <scope>provided</scope> </dependency> </dependencies> </project> Here is the error I am receiving :: (This all worked fine up until a few hours ago... Not sure what I changed that would cause this. Also, the class HelloServiceWS.class is present in the target\classes folder... ) [INFO] [jaxws:wsgen-test] error: Could not find class file for com.heartlab.ws.services.HelloServiceWS 1 error error: compilation failed, errors should have been reported [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error executing: wsgen [-verbose, -keep, -d, C:\Projects\IntelliJ\Heartlab\WebSend\WebSendServices\target\test-classe s, -cp, C:\Projects\Intell iJ\Heartlab\WebSend\WebSendServices\target\test-classes;C:\Documents and Settings\ksb\.m2\repository\aopalliance\aopalliance\1.0\aopalliance-1.0. jar;C :\Documents and Settings\ksb\.m2\repository\org\springframework\spring-context\2.0.2\spr ing-context-2.0.2.jar;C:\Documents and Settings\ksb\.m2\reposi tory\com\heartlab\ws\WebSendUtility\0.0.1\WebSendUtility-0.0.1.jar;C:\Do cuments and Settings\ksb\.m2\repository\org\springframework\spring-core\2.0.2\ spring-core-2.0.2.jar;C:\Documents and Settings\ksb\.m2\repository\org\springframework\spring-beans\2.0.2\sprin g-beans-2.0.2.jar, -wsdl:soap1.1, -r, C -- View this message in context: http://www.nabble.com/jaxws-maven-plugin-jaxws%3Awsgen---Could-not-find- class-file-tf4477051s177.html#a12765789 Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
