Coder Social home page Coder Social logo

Comments (10)

jsandeepm avatar jsandeepm commented on September 28, 2024 10

Below exclusion fixed my problem. It might help you.

<dependency>
            <groupId>org.hibernate</groupId>
            <artifactId>hibernate-core</artifactId>
            <version>5.1.0.Final</version>
            <exclusions>
                <exclusion>
                    <groupId>org.javassist</groupId>
                    <artifactId>javassist</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

from javassist.

zhangfan2015 avatar zhangfan2015 commented on September 28, 2024 2

I have involved with it too,updating to tomcat-8.0.33 ,it solved.

from javassist.

yamass avatar yamass commented on September 28, 2024

@ryber Have you been able to solve the problem? I am facing the same...

from javassist.

ryber avatar ryber commented on September 28, 2024

We excluded the Jar from Tomcat's scanning: https://tomcat.apache.org/tomcat-8.0-doc/config/jar-scan-filter.html

from javassist.

yamass avatar yamass commented on September 28, 2024

@ryber I solved my problem by updating to apache-tomcat-7.0.59

from javassist.

DaiDongLiang avatar DaiDongLiang commented on September 28, 2024

I have encountered the same problem in tomcat 8.0.9.
How to solve this problem?

from javassist.

chibash avatar chibash commented on September 28, 2024

Can't you fix the problem by substituting javassist-3.20.0-GA.jar for 3.19.0?

from javassist.

finansistpavel avatar finansistpavel commented on September 28, 2024

You can add tomcat.util.scan.StandardJarScanFilter.jarsToSkip= ...,javassist-*.jar to catalina.properties file in your tomcat conf folder

from javassist.

Valexx55 avatar Valexx55 commented on September 28, 2024

Any of previous replies solved my situation. Using Hibernate, is mandatory to include a javassist jar Deploying my app into an openshift server, i was getting the same error and could solve it magically, adding explicitly the redhat maven's javassist dependency below:
<dependency> <groupId>org.javassist</groupId> <artifactId>javassist</artifactId> <version>3.18.1.GA-redhat-1</version> </dependency>

from javassist.

ppazos avatar ppazos commented on September 28, 2024

https://issues.apache.org/jira/browse/WW-4637

catalina.properties file:

tomcat.util.scan.DefaultJarScanner.jarsToSkip=javassist-*.jar

from javassist.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.