Announcement Announcement Module
Collapse
No announcement yet.
Spring Web Service Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Web Service

    Hi,
    First of all i want to thank you for the tutorials they are extremely helpful,
    as i am a beginner i am trying to follow the Spring web services tutorial http://static.springsource.org/sprin...tml/index.html and i downloaded source codes http://s3.amazonaws.com/dist.springf...LEASE-full.zip , when i tried to do Maven install (chapter 3) i get "org.apache.maven.surefire.booter.SurefireExecutio nException: Unable to create test class 'com.mycompany.hr.ws.HolidayEndpointTest'; nested exception is java.lang.ClassNotFoundException: com.mycompany.hr.ws.HolidayEndpointTest; nested exception is org.apache.maven.surefire.testset.TestSetFailedExc eption: Unable to create test class 'com.mycompany.hr.ws.HolidayEndpointTest'; nested exception is java.lang.ClassNotFoundException: com.mycompany.hr.ws.HolidayEndpointTest"
    Can any one please help me?
    any suggestions are extremely appreciated

  • #2
    i fixed that problem by adding <build>
    <plugins>
    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <configuration>
    <source>1.6</source>
    <target>1.6</target>
    </configuration>
    </plugin>

    <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-surefire-plugin</artifactId>
    <version>2.6</version>
    </plugin>

    </plugins>
    </build>
    to the pom.xml, but now i have another problem, when i try to the hr.wsdl using web services explorer i get
    IWAB0135E An unexpected error has occurred.
    404
    Introuvable
    what can i do?

    Comment

    Working...
    X