error when deploying WAR in weblogic server 12c

1

I have problems when displaying war to weblogic , it is an application developed with java ee , framework spring when I compile in netbeans and generates the .war when I deploy it, it launches this error

  

java.lang.IllegalStateException: Must start with Java agent to use   InstrumentationLoadTimeWeaver. See Spring documentation.

     

Error Must start with Java agent to use InstrumentationLoadTimeWeaver.   See Spring documentation

Apparently there is a dependency that can not be found, but in my file .pom I have all the dependencies referring to spring

<dependencies>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-web</artifactId>
        <version>3.0.5.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-webmvc</artifactId>
        <version>3.0.5.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-instrument</artifactId>
        <version>3.0.5.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-orm</artifactId>
        <version>3.0.5.RELEASE</version>
    </dependency>
    <dependency>
        <groupId>toplink.essentials</groupId>
        <artifactId>toplink-essentials</artifactId>
        <version>2.0-41b</version>
    </dependency>
    <dependency>
        <groupId>net.sf.flexjson</groupId>
        <artifactId>flexjson</artifactId>
        <version>2.1</version>
    </dependency>
    <dependency>
        <groupId>javax.persistence</groupId>
        <artifactId>persistence-api</artifactId>
        <version>1.0</version>
    </dependency>
    <dependency>
        <groupId>log4j</groupId>
        <artifactId>log4j</artifactId>
        <version>1.2.16</version>
    </dependency>
    <dependency>
        <groupId>org.springframework</groupId>
        <artifactId>spring-context-support</artifactId>
        <version>3.0.5.RELEASE</version>
    </dependency>

I do not know what I could be doing wrong, if someone has experienced something similar working with the application server weblogic I appreciate your help

    
asked by Jdeveloper 24.11.2016 в 21:02
source

1 answer

0

The solution is to place this line in the servlet .xml file   and ready the weblogic recononce said library

    
answered by 02.12.2016 / 14:59
source