0

Facing issue while converting to json format, seems to be like jar confict). Below mentioned is my pom.xml

http://maven.apache.org/maven-v4_0_0.xsd"> 4.0.0 com.fg prjSpringMVC war 0.0.1-SNAPSHOT prjSpringMVC Maven Webapp http://maven.apache.org 3.0.5.RELEASE junit junit 3.8.1 test org.springframework spring-context ${spring.version} org.springframework spring-webmvc ${spring.version}

    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>${spring.version}</version>
    </dependency>
    <dependency>
        <groupId>jstl</groupId>
        <artifactId>jstl</artifactId>
        <version>1.2</version>
    </dependency>
    <dependency>
        <groupId>org.codehaus.jackson</groupId>
        <artifactId>jackson-mapper-asl</artifactId>
        <version>1.9.13</version>
    </dependency>   
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-oxm</artifactId>
        <version>${spring.version}</version>
    </dependency>
    <dependency>
        <groupId>javax.xml</groupId>
        <artifactId>jaxb-api</artifactId>
        <version>2.1</version>
    </dependency>

</dependencies>

<build>
    <finalName>prjSpringMVC</finalName>
</build>

Any help / revert appreciated pls.

1 Answer 1

0

Add

<dependency>
    <groupId>org.codehaus.jackson</groupId>
    <artifactId>jackson-core-asl</artifactId>
    <version>1.9.13</version>
</dependency>
Sign up to request clarification or add additional context in comments.

2 Comments

Still Not working. my understanding is mapper-asl having dependent jar of core-asl. it is
Still Not Working. Same Error. I think we have the class required but the version is not correct.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.