kandi background
Explore Kits

javassist | Java bytecode engineering toolkit | Bytecode library

 by   jboss-javassist Java Version: rel_3_28_0_ga License: Non-SPDX

 by   jboss-javassist Java Version: rel_3_28_0_ga License: Non-SPDX

Download this library from

kandi X-RAY | javassist Summary

javassist is a Java library typically used in Programming Style, Bytecode applications. javassist has no bugs, it has no vulnerabilities, it has build file available and it has high support. However javassist has a Non-SPDX License. You can download it from GitHub, Maven.
Java bytecode engineering toolkit. Copyright (C) 1999-2021 by Shigeru Chiba, All rights reserved. Javassist (JAVA programming ASSISTant) makes Java bytecode manipulation simple. It is a class library for editing bytecodes in Java; it enables Java programs to define a new class at runtime and to modify a class file when the JVM loads it. Unlike other similar bytecode editors, Javassist provides two levels of API: source level and bytecode level. If the users use the source- level API, they can edit a class file without knowledge of the specifications of the Java bytecode. The whole API is designed with only the vocabulary of the Java language. You can even specify inserted bytecode in the form of source text; Javassist compiles it on the fly. On the other hand, the bytecode-level API allows the users to directly edit a class file as other editors. This software is distributed under the Mozilla Public License Version 1.1, the GNU Lesser General Public License Version 2.1 or later, or the Apache License Version 2.0.
Support
Support
Quality
Quality
Security
Security
License
License
Reuse
Reuse

kandi-support Support

  • javassist has a highly active ecosystem.
  • It has 3172 star(s) with 595 fork(s). There are 161 watchers for this library.
  • It had no major release in the last 12 months.
  • There are 161 open issues and 133 have been closed. On average issues are closed in 105 days. There are 2 open pull requests and 0 closed requests.
  • It has a positive sentiment in the developer community.
  • The latest version of javassist is rel_3_28_0_ga
javassist Support
Best in #Bytecode
Average in #Bytecode
javassist Support
Best in #Bytecode
Average in #Bytecode

quality kandi Quality

  • javassist has 0 bugs and 0 code smells.
javassist Quality
Best in #Bytecode
Average in #Bytecode
javassist Quality
Best in #Bytecode
Average in #Bytecode

securitySecurity

  • javassist has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
  • javassist code analysis shows 0 unresolved vulnerabilities.
  • There are 0 security hotspots that need review.
javassist Security
Best in #Bytecode
Average in #Bytecode
javassist Security
Best in #Bytecode
Average in #Bytecode

license License

  • javassist has a Non-SPDX License.
  • Non-SPDX licenses can be open source with a non SPDX compliant license, or non open source licenses, and you need to review them closely before use.
javassist License
Best in #Bytecode
Average in #Bytecode
javassist License
Best in #Bytecode
Average in #Bytecode

buildReuse

  • javassist releases are available to install and integrate.
  • Deployable package is available in Maven.
  • Build file is available. You can build the component from source.
javassist Reuse
Best in #Bytecode
Average in #Bytecode
javassist Reuse
Best in #Bytecode
Average in #Bytecode
Top functions reviewed by kandi - BETA

kandi has reviewed javassist and discovered the below as its top functions. This is intended to give you an instant insight into javassist implemented functionality, and help decide if they suit your requirements.

  • Execute the instruction at the given location in the given frame .
    • Return the string representation of the position instruction .
      • overrides the opcode in the opcode
        • Adds a multi - dimensional array to the stack .
          • Insert a gap into the code .
            • Compile a switch statement .
              • return true if a branch is found
                • Returns a string representation of an instruction .
                  • Loop body of a loop .
                    • Obtain a field accessor .

                      Get all kandi verified functions for this library.

                      Get all kandi verified functions for this library.

                      javassist Key Features

                      Readme.html Readme file (a longer version of this file).

                      License.html License file

                      tutorial/tutorial.html Tutorial

                      ./javassist.jar The Javassist jar file (class files)

                      ./src/main The source files

                      html/index.html The top page of the Javassist API document.

                      java.lang.ClassNotFoundException: org.apache.wicket.settings.def.JavaScriptLibrarySettings

                      copy iconCopydownload iconDownload
                      [INFO] +- org.wicketstuff:wicketstuff-tinymce:jar:6.30.0:compile
                      [INFO] |  +- org.apache.wicket:wicket-extensions:jar:6.30.0:compile
                      [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
                      [INFO] |  +- net.sf.jazzy:jazzy:jar:0.5.2-rtext-1.4.1:compile
                      [INFO] |  +- org.json:json:jar:20090211:compile
                      [INFO] |  \- org.apache.wicket:wicket:pom:6.30.0:compile
                      

                      Getting warning SLF4J :Class path contains multiple SLF4J bindings

                      copy iconCopydownload iconDownload
                      SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
                      SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.1/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
                      
                      mvn dependency:tree '-Dincludes=ch.qos.logback:logback-classic,org.apache.logging.log4j:log4j-slf4j-impl'
                      
                      SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/ch/qos/logback/logback-classic/1.2.10/logback-classic-1.2.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
                      SLF4J: Found binding in [jar:file:/Users/macuser/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.17.1/log4j-slf4j-impl-2.17.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
                      
                      mvn dependency:tree '-Dincludes=ch.qos.logback:logback-classic,org.apache.logging.log4j:log4j-slf4j-impl'
                      

                      How to generate looping bytecode using Javassist?

                      copy iconCopydownload iconDownload
                      var stackMap = new StackMapTable.Writer(0);
                      stackMap.sameFrame(0);
                      // ...
                      var codeAttr = mainMethodCode.toCodeAttribute();
                      codeAttr.setAttribute(stackMap.toStackMapTable(constPool));
                      
                      var cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
                      
                      cw.visit(V1_6,
                          ACC_PUBLIC + ACC_SUPER,
                          "Main",
                          null,
                          "java/lang/Object",
                          null);
                      
                      cw.visitSource("Main.java", null);
                      var mv = cw.visitMethod(ACC_PUBLIC + ACC_STATIC,
                          "main",
                          "([Ljava/lang/String;)V",
                          null,
                          null);
                      mv.visitCode();
                      var start = new Label();
                      mv.visitLabel(start);
                      mv.visitFieldInsn(GETSTATIC,
                          "java/lang/System",
                          "out",
                          "Ljava/io/PrintStream;");
                      mv.visitLdcInsn("Hello World!");
                      mv.visitMethodInsn(INVOKEVIRTUAL,
                          "java/io/PrintStream",
                          "println",
                          "(Ljava/lang/String;)V",
                          false);
                      mv.visitJumpInsn(GOTO, start);
                      mv.visitMaxs(0, 0);
                      mv.visitEnd();
                      cw.visitEnd();
                      var bytes = cw.toByteArray();
                      var stream = new FileOutputStream("...");
                      stream.write(bytes);
                      stream.close();
                      
                      var stackMap = new StackMapTable.Writer(0);
                      stackMap.sameFrame(0);
                      // ...
                      var codeAttr = mainMethodCode.toCodeAttribute();
                      codeAttr.setAttribute(stackMap.toStackMapTable(constPool));
                      
                      var cw = new ClassWriter(ClassWriter.COMPUTE_FRAMES);
                      
                      cw.visit(V1_6,
                          ACC_PUBLIC + ACC_SUPER,
                          "Main",
                          null,
                          "java/lang/Object",
                          null);
                      
                      cw.visitSource("Main.java", null);
                      var mv = cw.visitMethod(ACC_PUBLIC + ACC_STATIC,
                          "main",
                          "([Ljava/lang/String;)V",
                          null,
                          null);
                      mv.visitCode();
                      var start = new Label();
                      mv.visitLabel(start);
                      mv.visitFieldInsn(GETSTATIC,
                          "java/lang/System",
                          "out",
                          "Ljava/io/PrintStream;");
                      mv.visitLdcInsn("Hello World!");
                      mv.visitMethodInsn(INVOKEVIRTUAL,
                          "java/io/PrintStream",
                          "println",
                          "(Ljava/lang/String;)V",
                          false);
                      mv.visitJumpInsn(GOTO, start);
                      mv.visitMaxs(0, 0);
                      mv.visitEnd();
                      cw.visitEnd();
                      var bytes = cw.toByteArray();
                      var stream = new FileOutputStream("...");
                      stream.write(bytes);
                      stream.close();
                      

                      Spring Boot Logging to a File

                      copy iconCopydownload iconDownload
                      java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
                      
                      java.util.logging.ConsoleHandler.formatter = org.springframework.boot.logging.java.SimpleFormatter
                      
                      java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
                      
                      java.util.logging.ConsoleHandler.formatter = org.springframework.boot.logging.java.SimpleFormatter
                      

                      Javassist Classpool.get() does not find class when using fully qualified name

                      copy iconCopydownload iconDownload
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes\\com\\domain\\jcp";
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes";
                      
                      CtClass clazz1 = classPool.get("JcpTest");
                      CtClass clazz2 = classPool.get("com.domain.jcp.JcpTest");
                      
                      import javassist.ClassPool;
                      import javassist.CtClass;
                      import javassist.NotFoundException;
                      
                      public class JavassistGetClass {
                        private static final String BASE_PATH = "...";
                      
                        public static void main(String[] args) throws NotFoundException {
                          ClassPool classPool = ClassPool.getDefault();
                      
                          // How to correctly use a classpath in Javassist
                          String classPath = BASE_PATH + "\\target\\classes";
                          classPool.insertClassPath(classPath);
                          CtClass ctClass = classPool.get("de.scrum_master.stackoverflow.q70786275.Application");
                          System.out.println("Correct package name: " + ctClass.getPackageName());
                      
                          // How NOT to use a classpath in Javassist (or anywhere else)
                          String classPathIncorrect = BASE_PATH + "\\target\\classes\\de\\scrum_master\\stackoverflow\\q70786275";
                          classPool.insertClassPath(classPathIncorrect);
                          CtClass ctClassIncorrect = classPool.get("Application");
                          System.out.println("Incorrect package name: " + ctClassIncorrect.getPackageName());
                        }
                      }
                      
                      Correct package name: de.scrum_master.stackoverflow.q70786275
                      Incorrect package name: null
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes\\com\\domain\\jcp";
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes";
                      
                      CtClass clazz1 = classPool.get("JcpTest");
                      CtClass clazz2 = classPool.get("com.domain.jcp.JcpTest");
                      
                      import javassist.ClassPool;
                      import javassist.CtClass;
                      import javassist.NotFoundException;
                      
                      public class JavassistGetClass {
                        private static final String BASE_PATH = "...";
                      
                        public static void main(String[] args) throws NotFoundException {
                          ClassPool classPool = ClassPool.getDefault();
                      
                          // How to correctly use a classpath in Javassist
                          String classPath = BASE_PATH + "\\target\\classes";
                          classPool.insertClassPath(classPath);
                          CtClass ctClass = classPool.get("de.scrum_master.stackoverflow.q70786275.Application");
                          System.out.println("Correct package name: " + ctClass.getPackageName());
                      
                          // How NOT to use a classpath in Javassist (or anywhere else)
                          String classPathIncorrect = BASE_PATH + "\\target\\classes\\de\\scrum_master\\stackoverflow\\q70786275";
                          classPool.insertClassPath(classPathIncorrect);
                          CtClass ctClassIncorrect = classPool.get("Application");
                          System.out.println("Incorrect package name: " + ctClassIncorrect.getPackageName());
                        }
                      }
                      
                      Correct package name: de.scrum_master.stackoverflow.q70786275
                      Incorrect package name: null
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes\\com\\domain\\jcp";
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes";
                      
                      CtClass clazz1 = classPool.get("JcpTest");
                      CtClass clazz2 = classPool.get("com.domain.jcp.JcpTest");
                      
                      import javassist.ClassPool;
                      import javassist.CtClass;
                      import javassist.NotFoundException;
                      
                      public class JavassistGetClass {
                        private static final String BASE_PATH = "...";
                      
                        public static void main(String[] args) throws NotFoundException {
                          ClassPool classPool = ClassPool.getDefault();
                      
                          // How to correctly use a classpath in Javassist
                          String classPath = BASE_PATH + "\\target\\classes";
                          classPool.insertClassPath(classPath);
                          CtClass ctClass = classPool.get("de.scrum_master.stackoverflow.q70786275.Application");
                          System.out.println("Correct package name: " + ctClass.getPackageName());
                      
                          // How NOT to use a classpath in Javassist (or anywhere else)
                          String classPathIncorrect = BASE_PATH + "\\target\\classes\\de\\scrum_master\\stackoverflow\\q70786275";
                          classPool.insertClassPath(classPathIncorrect);
                          CtClass ctClassIncorrect = classPool.get("Application");
                          System.out.println("Incorrect package name: " + ctClassIncorrect.getPackageName());
                        }
                      }
                      
                      Correct package name: de.scrum_master.stackoverflow.q70786275
                      Incorrect package name: null
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes\\com\\domain\\jcp";
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes";
                      
                      CtClass clazz1 = classPool.get("JcpTest");
                      CtClass clazz2 = classPool.get("com.domain.jcp.JcpTest");
                      
                      import javassist.ClassPool;
                      import javassist.CtClass;
                      import javassist.NotFoundException;
                      
                      public class JavassistGetClass {
                        private static final String BASE_PATH = "...";
                      
                        public static void main(String[] args) throws NotFoundException {
                          ClassPool classPool = ClassPool.getDefault();
                      
                          // How to correctly use a classpath in Javassist
                          String classPath = BASE_PATH + "\\target\\classes";
                          classPool.insertClassPath(classPath);
                          CtClass ctClass = classPool.get("de.scrum_master.stackoverflow.q70786275.Application");
                          System.out.println("Correct package name: " + ctClass.getPackageName());
                      
                          // How NOT to use a classpath in Javassist (or anywhere else)
                          String classPathIncorrect = BASE_PATH + "\\target\\classes\\de\\scrum_master\\stackoverflow\\q70786275";
                          classPool.insertClassPath(classPathIncorrect);
                          CtClass ctClassIncorrect = classPool.get("Application");
                          System.out.println("Incorrect package name: " + ctClassIncorrect.getPackageName());
                        }
                      }
                      
                      Correct package name: de.scrum_master.stackoverflow.q70786275
                      Incorrect package name: null
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes\\com\\domain\\jcp";
                      
                      String classPath = "[CORRECT PATH TRUNK]\\target\\test-classes";
                      
                      CtClass clazz1 = classPool.get("JcpTest");
                      CtClass clazz2 = classPool.get("com.domain.jcp.JcpTest");
                      
                      import javassist.ClassPool;
                      import javassist.CtClass;
                      import javassist.NotFoundException;
                      
                      public class JavassistGetClass {
                        private static final String BASE_PATH = "...";
                      
                        public static void main(String[] args) throws NotFoundException {
                          ClassPool classPool = ClassPool.getDefault();
                      
                          // How to correctly use a classpath in Javassist
                          String classPath = BASE_PATH + "\\target\\classes";
                          classPool.insertClassPath(classPath);
                          CtClass ctClass = classPool.get("de.scrum_master.stackoverflow.q70786275.Application");
                          System.out.println("Correct package name: " + ctClass.getPackageName());
                      
                          // How NOT to use a classpath in Javassist (or anywhere else)
                          String classPathIncorrect = BASE_PATH + "\\target\\classes\\de\\scrum_master\\stackoverflow\\q70786275";
                          classPool.insertClassPath(classPathIncorrect);
                          CtClass ctClassIncorrect = classPool.get("Application");
                          System.out.println("Incorrect package name: " + ctClassIncorrect.getPackageName());
                        }
                      }
                      
                      Correct package name: de.scrum_master.stackoverflow.q70786275
                      Incorrect package name: null
                      

                      java.lang.NullPointerException: Cannot invoke "java.lang.reflect.AccessibleObject.setAccessible(boolean)" because "ao" is null

                      copy iconCopydownload iconDownload
                      hibernate.bytecode.provider=javassist
                      
                      hibernate.bytecode.provider=bytebuddy
                      
                      hibernate.bytecode.provider=javassist
                      
                      hibernate.bytecode.provider=bytebuddy
                      

                      kafka issue while connecting to zookeeper (kubernetes-kafka:1.0-10.2.1)

                      copy iconCopydownload iconDownload
                                --override zookeeper.connect=zk-cs.default.svc.cluster.local:2181 \
                      
                                --override zookeeper.connect=zk-cs.kaf.svc.cluster.local:2181 \
                      
                                --override zookeeper.connect=zk-cs.default.svc.cluster.local:2181 \
                      
                                --override zookeeper.connect=zk-cs.kaf.svc.cluster.local:2181 \
                      

                      org.apache.kafka.connect.errors.ConnectException error when starting Kafka Connect with Snowflake connector

                      copy iconCopydownload iconDownload
                      Kafka: 2.5.1
                      Java: 13
                      
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/kafka-clients/2.3.1/kafka-clients-2.3.1.jar" -o ~/kafka/libs/kafka-clients-2.3.1.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-runtime/2.3.0/connect-runtime-2.3.0.jar" -o ~/kafka/libs/connect-runtime-2.3.0.jar
                      curl "https://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar" -o ~/kafka/libs/slf4j-simple-1.6.1.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/kafka_2.13/2.5.1/kafka_2.13-2.5.1.jar" -o ~/kafka/libs/kafka_2.13-2.5.1.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-transforms/2.5.1/connect-transforms-2.5.1.jar" -o ~/kafka/libs/connect-transforms-2.5.1.jar
                      curl "https://repo1.maven.org/maven2/com/snowflake/snowflake-kafka-connector/1.5.5/snowflake-kafka-connector-1.5.5.jar" -o ~/kafka/libs/snowflake-kafka-connector-1.5.5.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-api/2.3.0/connect-api-2.3.0.jar" -o ~/kafka/libs/connect-api-2.3.0.jar
                      curl "https://repo1.maven.org/maven2/org/apache/avro/avro/1.10.2/avro-1.10.2.jar" -o ~/kafka/libs/avro-1.10.2.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-json/2.3.0/connect-json-2.3.0.jar" -o ~/kafka/libs/connect-json-2.3.0.jar
                      curl "https://repo1.maven.org/maven2/org/reflections/reflections/0.9.10/reflections-0.9.10.jar" -o ~/kafka/libs/reflections-0.9.10.jar
                      curl "https://repo1.maven.org/maven2/org/javassist/javassist/3.27.0-GA/javassist-3.27.0-GA.jar" -o ~/kafka/libs/javassist-3.27.0-GA.jar
                      curl "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.8.2/maven-artifact-3.8.2.jar" -o ~/kafka/libs/maven-artifact-3.8.2.jar
                      curl "https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar" -o ~/kafka/libs/commons-lang3-3.9.jar
                      
                      Kafka: 2.5.1
                      Java: 13
                      
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/kafka-clients/2.3.1/kafka-clients-2.3.1.jar" -o ~/kafka/libs/kafka-clients-2.3.1.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-runtime/2.3.0/connect-runtime-2.3.0.jar" -o ~/kafka/libs/connect-runtime-2.3.0.jar
                      curl "https://repo1.maven.org/maven2/org/slf4j/slf4j-simple/1.6.1/slf4j-simple-1.6.1.jar" -o ~/kafka/libs/slf4j-simple-1.6.1.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/kafka_2.13/2.5.1/kafka_2.13-2.5.1.jar" -o ~/kafka/libs/kafka_2.13-2.5.1.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-transforms/2.5.1/connect-transforms-2.5.1.jar" -o ~/kafka/libs/connect-transforms-2.5.1.jar
                      curl "https://repo1.maven.org/maven2/com/snowflake/snowflake-kafka-connector/1.5.5/snowflake-kafka-connector-1.5.5.jar" -o ~/kafka/libs/snowflake-kafka-connector-1.5.5.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-api/2.3.0/connect-api-2.3.0.jar" -o ~/kafka/libs/connect-api-2.3.0.jar
                      curl "https://repo1.maven.org/maven2/org/apache/avro/avro/1.10.2/avro-1.10.2.jar" -o ~/kafka/libs/avro-1.10.2.jar
                      curl "https://repo1.maven.org/maven2/org/apache/kafka/connect-json/2.3.0/connect-json-2.3.0.jar" -o ~/kafka/libs/connect-json-2.3.0.jar
                      curl "https://repo1.maven.org/maven2/org/reflections/reflections/0.9.10/reflections-0.9.10.jar" -o ~/kafka/libs/reflections-0.9.10.jar
                      curl "https://repo1.maven.org/maven2/org/javassist/javassist/3.27.0-GA/javassist-3.27.0-GA.jar" -o ~/kafka/libs/javassist-3.27.0-GA.jar
                      curl "https://repo1.maven.org/maven2/org/apache/maven/maven-artifact/3.8.2/maven-artifact-3.8.2.jar" -o ~/kafka/libs/maven-artifact-3.8.2.jar
                      curl "https://repo1.maven.org/maven2/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar" -o ~/kafka/libs/commons-lang3-3.9.jar
                      

                      How can we simulate OutOfMemory: Metaspace?

                      copy iconCopydownload iconDownload
                      public class DummyClass {
                        static String padding = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
                      }
                      
                      import java.lang.management.ClassLoadingMXBean;
                      import java.lang.management.ManagementFactory;
                      import java.net.URL;
                      import java.net.URLClassLoader;
                      import java.util.ArrayList;
                      import java.util.List;
                      
                      public class Test {
                          
                          public static void main(String[] args) {
                      
                              try {
                                  
                                  URL url = Test.class.getResource("").toURI().toURL();
                                  System.out.println("URL = " + url);
                                  URL[] urls = {url};
                          
                                  ClassLoadingMXBean loadingMXBean = ManagementFactory.getClassLoadingMXBean();
                          
                                  List<ClassLoader> classLoaders = new ArrayList<>();
                      
                                  System.out.println("Total: " + loadingMXBean.getTotalLoadedClassCount());
                                  System.out.println("Active: " + loadingMXBean.getLoadedClassCount());
                                  System.out.println("Unloaded: " + loadingMXBean.getUnloadedClassCount());
                      
                                  int i = 0;
                                  while ( true ) {
                                      i++;
                                      System.out.println("### Iteration " + i + " ###");
                                      ClassLoader classLoader = new URLClassLoader(urls) {
                                          @Override
                                          public Class<?> loadClass(String name) throws ClassNotFoundException {
                                              final Class<?> loadedClass;
                                              if ( "DummyClass".equals(name) ) {
                                                  System.out.println (this + " - finding class " + name);
                                                  loadedClass = findClass(name);
                                                  System.out.println (this + " - loading class " + loadedClass);
                                              } else {
                                                  // delegate to parent
                                                  loadedClass = this.getParent().loadClass(name);
                                              }
                                              return loadedClass;
                                          }
                                      };
                                      
                                      classLoaders.add(classLoader);
                                      classLoader.loadClass("DummyClass");
                          
                                      System.out.println("Total: " + loadingMXBean.getTotalLoadedClassCount());
                                      System.out.println("Active: " + loadingMXBean.getLoadedClassCount());
                                      System.out.println("Unloaded: " + loadingMXBean.getUnloadedClassCount());
                                  }
                              } catch ( Exception ex ) {
                                  ex.printStackTrace();
                              }
                              
                          }
                      }
                      
                      > ### Iteration 16318 ### 
                      > Test$1@531ed68e - finding class DummyClass
                      > Test$1@531ed68e - loading class class DummyClass
                      > Total: 16747 Active:
                      > 16747 Unloaded: 0
                      > ### Iteration 16319 ### 
                      > Test$1@6bbd4048 - finding class DummyClass 
                      > Exception in thread "main" java.lang.OutOfMemoryError: Metaspace  at
                      > java.lang.ClassLoader.defineClass1(Native Method)     at
                      > java.lang.ClassLoader.defineClass(ClassLoader.java:756)   at
                      > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
                      >   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)     at
                      > java.net.URLClassLoader.access$100(URLClassLoader.java:74)    at
                      > java.net.URLClassLoader$1.run(URLClassLoader.java:369)    at
                      > java.net.URLClassLoader$1.run(URLClassLoader.java:363)    at
                      > java.security.AccessController.doPrivileged(Native Method)    at
                      > java.net.URLClassLoader.findClass(URLClassLoader.java:362)    at
                      > Test$1.loadClass(Test.java:42)    at Test.main(Test.java:53)
                      
                      public class DummyClass {
                        static String padding = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
                      }
                      
                      import java.lang.management.ClassLoadingMXBean;
                      import java.lang.management.ManagementFactory;
                      import java.net.URL;
                      import java.net.URLClassLoader;
                      import java.util.ArrayList;
                      import java.util.List;
                      
                      public class Test {
                          
                          public static void main(String[] args) {
                      
                              try {
                                  
                                  URL url = Test.class.getResource("").toURI().toURL();
                                  System.out.println("URL = " + url);
                                  URL[] urls = {url};
                          
                                  ClassLoadingMXBean loadingMXBean = ManagementFactory.getClassLoadingMXBean();
                          
                                  List<ClassLoader> classLoaders = new ArrayList<>();
                      
                                  System.out.println("Total: " + loadingMXBean.getTotalLoadedClassCount());
                                  System.out.println("Active: " + loadingMXBean.getLoadedClassCount());
                                  System.out.println("Unloaded: " + loadingMXBean.getUnloadedClassCount());
                      
                                  int i = 0;
                                  while ( true ) {
                                      i++;
                                      System.out.println("### Iteration " + i + " ###");
                                      ClassLoader classLoader = new URLClassLoader(urls) {
                                          @Override
                                          public Class<?> loadClass(String name) throws ClassNotFoundException {
                                              final Class<?> loadedClass;
                                              if ( "DummyClass".equals(name) ) {
                                                  System.out.println (this + " - finding class " + name);
                                                  loadedClass = findClass(name);
                                                  System.out.println (this + " - loading class " + loadedClass);
                                              } else {
                                                  // delegate to parent
                                                  loadedClass = this.getParent().loadClass(name);
                                              }
                                              return loadedClass;
                                          }
                                      };
                                      
                                      classLoaders.add(classLoader);
                                      classLoader.loadClass("DummyClass");
                          
                                      System.out.println("Total: " + loadingMXBean.getTotalLoadedClassCount());
                                      System.out.println("Active: " + loadingMXBean.getLoadedClassCount());
                                      System.out.println("Unloaded: " + loadingMXBean.getUnloadedClassCount());
                                  }
                              } catch ( Exception ex ) {
                                  ex.printStackTrace();
                              }
                              
                          }
                      }
                      
                      > ### Iteration 16318 ### 
                      > Test$1@531ed68e - finding class DummyClass
                      > Test$1@531ed68e - loading class class DummyClass
                      > Total: 16747 Active:
                      > 16747 Unloaded: 0
                      > ### Iteration 16319 ### 
                      > Test$1@6bbd4048 - finding class DummyClass 
                      > Exception in thread "main" java.lang.OutOfMemoryError: Metaspace  at
                      > java.lang.ClassLoader.defineClass1(Native Method)     at
                      > java.lang.ClassLoader.defineClass(ClassLoader.java:756)   at
                      > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
                      >   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)     at
                      > java.net.URLClassLoader.access$100(URLClassLoader.java:74)    at
                      > java.net.URLClassLoader$1.run(URLClassLoader.java:369)    at
                      > java.net.URLClassLoader$1.run(URLClassLoader.java:363)    at
                      > java.security.AccessController.doPrivileged(Native Method)    at
                      > java.net.URLClassLoader.findClass(URLClassLoader.java:362)    at
                      > Test$1.loadClass(Test.java:42)    at Test.main(Test.java:53)
                      
                      public class DummyClass {
                        static String padding = "1234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890";
                      }
                      
                      import java.lang.management.ClassLoadingMXBean;
                      import java.lang.management.ManagementFactory;
                      import java.net.URL;
                      import java.net.URLClassLoader;
                      import java.util.ArrayList;
                      import java.util.List;
                      
                      public class Test {
                          
                          public static void main(String[] args) {
                      
                              try {
                                  
                                  URL url = Test.class.getResource("").toURI().toURL();
                                  System.out.println("URL = " + url);
                                  URL[] urls = {url};
                          
                                  ClassLoadingMXBean loadingMXBean = ManagementFactory.getClassLoadingMXBean();
                          
                                  List<ClassLoader> classLoaders = new ArrayList<>();
                      
                                  System.out.println("Total: " + loadingMXBean.getTotalLoadedClassCount());
                                  System.out.println("Active: " + loadingMXBean.getLoadedClassCount());
                                  System.out.println("Unloaded: " + loadingMXBean.getUnloadedClassCount());
                      
                                  int i = 0;
                                  while ( true ) {
                                      i++;
                                      System.out.println("### Iteration " + i + " ###");
                                      ClassLoader classLoader = new URLClassLoader(urls) {
                                          @Override
                                          public Class<?> loadClass(String name) throws ClassNotFoundException {
                                              final Class<?> loadedClass;
                                              if ( "DummyClass".equals(name) ) {
                                                  System.out.println (this + " - finding class " + name);
                                                  loadedClass = findClass(name);
                                                  System.out.println (this + " - loading class " + loadedClass);
                                              } else {
                                                  // delegate to parent
                                                  loadedClass = this.getParent().loadClass(name);
                                              }
                                              return loadedClass;
                                          }
                                      };
                                      
                                      classLoaders.add(classLoader);
                                      classLoader.loadClass("DummyClass");
                          
                                      System.out.println("Total: " + loadingMXBean.getTotalLoadedClassCount());
                                      System.out.println("Active: " + loadingMXBean.getLoadedClassCount());
                                      System.out.println("Unloaded: " + loadingMXBean.getUnloadedClassCount());
                                  }
                              } catch ( Exception ex ) {
                                  ex.printStackTrace();
                              }
                              
                          }
                      }
                      
                      > ### Iteration 16318 ### 
                      > Test$1@531ed68e - finding class DummyClass
                      > Test$1@531ed68e - loading class class DummyClass
                      > Total: 16747 Active:
                      > 16747 Unloaded: 0
                      > ### Iteration 16319 ### 
                      > Test$1@6bbd4048 - finding class DummyClass 
                      > Exception in thread "main" java.lang.OutOfMemoryError: Metaspace  at
                      > java.lang.ClassLoader.defineClass1(Native Method)     at
                      > java.lang.ClassLoader.defineClass(ClassLoader.java:756)   at
                      > java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
                      >   at java.net.URLClassLoader.defineClass(URLClassLoader.java:468)     at
                      > java.net.URLClassLoader.access$100(URLClassLoader.java:74)    at
                      > java.net.URLClassLoader$1.run(URLClassLoader.java:369)    at
                      > java.net.URLClassLoader$1.run(URLClassLoader.java:363)    at
                      > java.security.AccessController.doPrivileged(Native Method)    at
                      > java.net.URLClassLoader.findClass(URLClassLoader.java:362)    at
                      > Test$1.loadClass(Test.java:42)    at Test.main(Test.java:53)
                      

                      java.lang.NoSuchFieldError: INSTANCE at org.jboss.resteasy.core.providerfactory.ResteasyProviderFactoryImpl.initializeCommon

                      copy iconCopydownload iconDownload
                      [INFO] +- com.acme.apollo.idm:idm-neo:jar:3.0.0-SCMOD-14133-SNAPSHOT:compile
                      [INFO] |  +- org.keycloak:keycloak-admin-client:jar:14.0.0:compile
                      [INFO] |  |  +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- org.jboss.resteasy:resteasy-jaxrs:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- com.sun.mail:jakarta.mail:jar:1.6.5:compile
                      [INFO] |  |  |  \- org.apache.james:apache-mime4j:jar:0.6:compile
                      [INFO] |  |  \- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.13.2.Final:compile
                      [INFO] |  |     \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
                      [INFO] |  |        +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
                      [INFO] |  |        \- com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client-api:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-core:jar:4.6.0.Final:compile
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                      </dependency>
                      
                            if (parent == null) {
                               // parent should always have these delegates
                               addHeaderDelegateIfAbsent(MediaType.class, MediaTypeHeaderDelegate.INSTANCE);
                               addHeaderDelegateIfAbsent(NewCookie.class, NewCookieHeaderDelegate.INSTANCE);
                      
                      public class MediaTypeHeaderDelegate implements RuntimeDelegate.HeaderDelegate<MediaType>
                      {
                         public static final MediaTypeHeaderDelegate INSTANCE = new MediaTypeHeaderDelegate();
                      
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.keycloak</groupId>
                                  <artifactId>keycloak-admin-client</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.keycloak</groupId>
                          <artifactId>keycloak-admin-client</artifactId>
                          <version>14.0.0</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-multipart-provider</artifactId>
                              </exclusion>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-jaxb-provider</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-multipart-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-jaxb-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      
                      <dependencyManagement>
                          <dependency> 
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-multipart-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                          <dependency>
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-jaxb-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                      </dependencyManagement>
                      
                      [INFO] +- com.acme.apollo.idm:idm-neo:jar:3.0.0-SCMOD-14133-SNAPSHOT:compile
                      [INFO] |  +- org.keycloak:keycloak-admin-client:jar:14.0.0:compile
                      [INFO] |  |  +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- org.jboss.resteasy:resteasy-jaxrs:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- com.sun.mail:jakarta.mail:jar:1.6.5:compile
                      [INFO] |  |  |  \- org.apache.james:apache-mime4j:jar:0.6:compile
                      [INFO] |  |  \- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.13.2.Final:compile
                      [INFO] |  |     \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
                      [INFO] |  |        +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
                      [INFO] |  |        \- com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client-api:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-core:jar:4.6.0.Final:compile
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                      </dependency>
                      
                            if (parent == null) {
                               // parent should always have these delegates
                               addHeaderDelegateIfAbsent(MediaType.class, MediaTypeHeaderDelegate.INSTANCE);
                               addHeaderDelegateIfAbsent(NewCookie.class, NewCookieHeaderDelegate.INSTANCE);
                      
                      public class MediaTypeHeaderDelegate implements RuntimeDelegate.HeaderDelegate<MediaType>
                      {
                         public static final MediaTypeHeaderDelegate INSTANCE = new MediaTypeHeaderDelegate();
                      
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.keycloak</groupId>
                                  <artifactId>keycloak-admin-client</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.keycloak</groupId>
                          <artifactId>keycloak-admin-client</artifactId>
                          <version>14.0.0</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-multipart-provider</artifactId>
                              </exclusion>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-jaxb-provider</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-multipart-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-jaxb-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      
                      <dependencyManagement>
                          <dependency> 
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-multipart-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                          <dependency>
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-jaxb-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                      </dependencyManagement>
                      
                      [INFO] +- com.acme.apollo.idm:idm-neo:jar:3.0.0-SCMOD-14133-SNAPSHOT:compile
                      [INFO] |  +- org.keycloak:keycloak-admin-client:jar:14.0.0:compile
                      [INFO] |  |  +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- org.jboss.resteasy:resteasy-jaxrs:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- com.sun.mail:jakarta.mail:jar:1.6.5:compile
                      [INFO] |  |  |  \- org.apache.james:apache-mime4j:jar:0.6:compile
                      [INFO] |  |  \- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.13.2.Final:compile
                      [INFO] |  |     \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
                      [INFO] |  |        +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
                      [INFO] |  |        \- com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client-api:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-core:jar:4.6.0.Final:compile
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                      </dependency>
                      
                            if (parent == null) {
                               // parent should always have these delegates
                               addHeaderDelegateIfAbsent(MediaType.class, MediaTypeHeaderDelegate.INSTANCE);
                               addHeaderDelegateIfAbsent(NewCookie.class, NewCookieHeaderDelegate.INSTANCE);
                      
                      public class MediaTypeHeaderDelegate implements RuntimeDelegate.HeaderDelegate<MediaType>
                      {
                         public static final MediaTypeHeaderDelegate INSTANCE = new MediaTypeHeaderDelegate();
                      
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.keycloak</groupId>
                                  <artifactId>keycloak-admin-client</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.keycloak</groupId>
                          <artifactId>keycloak-admin-client</artifactId>
                          <version>14.0.0</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-multipart-provider</artifactId>
                              </exclusion>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-jaxb-provider</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-multipart-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-jaxb-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      
                      <dependencyManagement>
                          <dependency> 
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-multipart-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                          <dependency>
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-jaxb-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                      </dependencyManagement>
                      
                      [INFO] +- com.acme.apollo.idm:idm-neo:jar:3.0.0-SCMOD-14133-SNAPSHOT:compile
                      [INFO] |  +- org.keycloak:keycloak-admin-client:jar:14.0.0:compile
                      [INFO] |  |  +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- org.jboss.resteasy:resteasy-jaxrs:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- com.sun.mail:jakarta.mail:jar:1.6.5:compile
                      [INFO] |  |  |  \- org.apache.james:apache-mime4j:jar:0.6:compile
                      [INFO] |  |  \- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.13.2.Final:compile
                      [INFO] |  |     \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
                      [INFO] |  |        +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
                      [INFO] |  |        \- com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client-api:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-core:jar:4.6.0.Final:compile
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                      </dependency>
                      
                            if (parent == null) {
                               // parent should always have these delegates
                               addHeaderDelegateIfAbsent(MediaType.class, MediaTypeHeaderDelegate.INSTANCE);
                               addHeaderDelegateIfAbsent(NewCookie.class, NewCookieHeaderDelegate.INSTANCE);
                      
                      public class MediaTypeHeaderDelegate implements RuntimeDelegate.HeaderDelegate<MediaType>
                      {
                         public static final MediaTypeHeaderDelegate INSTANCE = new MediaTypeHeaderDelegate();
                      
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.keycloak</groupId>
                                  <artifactId>keycloak-admin-client</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.keycloak</groupId>
                          <artifactId>keycloak-admin-client</artifactId>
                          <version>14.0.0</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-multipart-provider</artifactId>
                              </exclusion>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-jaxb-provider</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-multipart-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-jaxb-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      
                      <dependencyManagement>
                          <dependency> 
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-multipart-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                          <dependency>
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-jaxb-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                      </dependencyManagement>
                      
                      [INFO] +- com.acme.apollo.idm:idm-neo:jar:3.0.0-SCMOD-14133-SNAPSHOT:compile
                      [INFO] |  +- org.keycloak:keycloak-admin-client:jar:14.0.0:compile
                      [INFO] |  |  +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- org.jboss.resteasy:resteasy-jaxrs:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- com.sun.mail:jakarta.mail:jar:1.6.5:compile
                      [INFO] |  |  |  \- org.apache.james:apache-mime4j:jar:0.6:compile
                      [INFO] |  |  \- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.13.2.Final:compile
                      [INFO] |  |     \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
                      [INFO] |  |        +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
                      [INFO] |  |        \- com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client-api:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-core:jar:4.6.0.Final:compile
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                      </dependency>
                      
                            if (parent == null) {
                               // parent should always have these delegates
                               addHeaderDelegateIfAbsent(MediaType.class, MediaTypeHeaderDelegate.INSTANCE);
                               addHeaderDelegateIfAbsent(NewCookie.class, NewCookieHeaderDelegate.INSTANCE);
                      
                      public class MediaTypeHeaderDelegate implements RuntimeDelegate.HeaderDelegate<MediaType>
                      {
                         public static final MediaTypeHeaderDelegate INSTANCE = new MediaTypeHeaderDelegate();
                      
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.keycloak</groupId>
                                  <artifactId>keycloak-admin-client</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.keycloak</groupId>
                          <artifactId>keycloak-admin-client</artifactId>
                          <version>14.0.0</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-multipart-provider</artifactId>
                              </exclusion>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-jaxb-provider</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-multipart-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-jaxb-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      
                      <dependencyManagement>
                          <dependency> 
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-multipart-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                          <dependency>
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-jaxb-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                      </dependencyManagement>
                      
                      [INFO] +- com.acme.apollo.idm:idm-neo:jar:3.0.0-SCMOD-14133-SNAPSHOT:compile
                      [INFO] |  +- org.keycloak:keycloak-admin-client:jar:14.0.0:compile
                      [INFO] |  |  +- org.jboss.resteasy:resteasy-multipart-provider:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- org.jboss.resteasy:resteasy-jaxrs:jar:3.13.2.Final:compile
                      [INFO] |  |  |  +- com.sun.mail:jakarta.mail:jar:1.6.5:compile
                      [INFO] |  |  |  \- org.apache.james:apache-mime4j:jar:0.6:compile
                      [INFO] |  |  \- org.jboss.resteasy:resteasy-jaxb-provider:jar:3.13.2.Final:compile
                      [INFO] |  |     \- org.glassfish.jaxb:jaxb-runtime:jar:2.3.3-b02:compile
                      [INFO] |  |        +- org.glassfish.jaxb:txw2:jar:2.3.3-b02:compile
                      [INFO] |  |        \- com.sun.istack:istack-commons-runtime:jar:3.0.10:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-client-api:jar:4.6.0.Final:compile
                      [INFO] |  +- org.jboss.resteasy:resteasy-core:jar:4.6.0.Final:compile
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                      </dependency>
                      
                            if (parent == null) {
                               // parent should always have these delegates
                               addHeaderDelegateIfAbsent(MediaType.class, MediaTypeHeaderDelegate.INSTANCE);
                               addHeaderDelegateIfAbsent(NewCookie.class, NewCookieHeaderDelegate.INSTANCE);
                      
                      public class MediaTypeHeaderDelegate implements RuntimeDelegate.HeaderDelegate<MediaType>
                      {
                         public static final MediaTypeHeaderDelegate INSTANCE = new MediaTypeHeaderDelegate();
                      
                      
                      <dependency>
                          <groupId>com.acme.apollo.idm</groupId>
                          <artifactId>idm-neo</artifactId>
                          <version>3.0.0-SCMOD-14133-SNAPSHOT</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.keycloak</groupId>
                                  <artifactId>keycloak-admin-client</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.keycloak</groupId>
                          <artifactId>keycloak-admin-client</artifactId>
                          <version>14.0.0</version>
                          <exclusions>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-multipart-provider</artifactId>
                              </exclusion>
                              <exclusion>
                                  <groupId>org.jboss.resteasy</groupId>
                                  <artifactId>resteasy-jaxb-provider</artifactId>
                              </exclusion>
                          </exclusions>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-multipart-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      <dependency>
                          <groupId>org.jboss.resteasy</groupId>
                          <artifactId>resteasy-jaxb-provider</artifactId>
                          <version>4.6.0.Final</version>
                      </dependency>
                      
                      <dependencyManagement>
                          <dependency> 
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-multipart-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                          <dependency>
                              <groupId>org.jboss.resteasy</groupId>
                              <artifactId>resteasy-jaxb-provider</artifactId>
                              <version>4.6.0.Final</version>
                          </dependency>
                      </dependencyManagement>
                      

                      Community Discussions

                      Trending Discussions on javassist
                      • java.lang.ClassNotFoundException: org.apache.wicket.settings.def.JavaScriptLibrarySettings
                      • Getting warning SLF4J :Class path contains multiple SLF4J bindings
                      • How to generate looping bytecode using Javassist?
                      • Is it possible to instrument a program that also uses dynamic bytecode generation?
                      • Spring Boot Logging to a File
                      • Javassist Classpool.get() does not find class when using fully qualified name
                      • Cannot execute any Mockito test. With JDK17 gives &quot;NoSuchMethodException: sun.misc.Unsafe.defineClass(...) &quot;
                      • Replicate resource warnings
                      • Replacing / Swapping a Java class in Java agent instrumentation
                      • java.lang.NullPointerException: Cannot invoke &quot;java.lang.reflect.AccessibleObject.setAccessible(boolean)&quot; because &quot;ao&quot; is null
                      Trending Discussions on javassist

                      QUESTION

                      java.lang.ClassNotFoundException: org.apache.wicket.settings.def.JavaScriptLibrarySettings

                      Asked 2022-Apr-14 at 18:20

                      I have wicket application and it sometimes fails on :

                      java.lang.NoClassDefFoundError: org/apache/wicket/settings/def/JavaScriptLibrarySettings java.base/java.lang.ClassLoader.defineClass1(Native Method) java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1016) java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:174)

                      I have this mvn configuration :

                      [INFO] com.dhl.crdb:crdb:war:1.2.2-SNAPSHOT
                      [INFO] +- com.dhl.webcommon:dhl-wc:jar:1.2.30.0:compile
                      [INFO] |  +- org.springframework:spring-tx:jar:5.3.18:compile
                      [INFO] |  |  \- org.springframework:spring-beans:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-webmvc:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-core:jar:5.3.18:compile
                      [INFO] |  |  \- org.springframework:spring-jcl:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-orm:jar:5.1.6.RELEASE:compile
                      [INFO] |  |  \- org.springframework:spring-jdbc:jar:5.1.6.RELEASE:compile
                      [INFO] |  +- org.springframework:spring-web:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-expression:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-aop:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-aspects:jar:5.3.18:compile
                      [INFO] |  |  \- org.aspectj:aspectjweaver:jar:1.9.7:compile
                      [INFO] |  +- org.springframework:spring-jms:jar:5.3.18:compile
                      [INFO] |  |  \- org.springframework:spring-messaging:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-context:jar:5.3.18:compile
                      [INFO] |  +- org.springframework:spring-context-support:jar:5.3.18:compile
                      [INFO] |  +- org.springframework.security:spring-security-core:jar:3.2.3.RELEASE:compile
                      [INFO] |  |  \- aopalliance:aopalliance:jar:1.0:compile
                      [INFO] |  +- org.springframework.security:spring-security-web:jar:3.2.3.RELEASE:compile
                      [INFO] |  +- org.springframework.security:spring-security-config:jar:3.2.3.RELEASE:compile
                      [INFO] |  +- org.springframework.batch:spring-batch-core:jar:2.2.1.RELEASE:compile
                      [INFO] |  |  +- org.springframework.batch:spring-batch-infrastructure:jar:2.2.1.RELEASE:compile
                      [INFO] |  |  |  \- org.springframework.retry:spring-retry:jar:1.0.2.RELEASE:compile
                      [INFO] |  |  +- com.thoughtworks.xstream:xstream:jar:1.3:compile
                      [INFO] |  |  |  \- xpp3:xpp3_min:jar:1.1.4c:compile
                      [INFO] |  |  \- org.codehaus.jettison:jettison:jar:1.1:compile
                      [INFO] |  +- org.springframework.ldap:spring-ldap-core:jar:1.3.2.RELEASE:compile
                      [INFO] |  +- org.apache.wicket:wicket-core:jar:8.14.0:compile
                      [INFO] |  |  +- com.github.openjson:openjson:jar:1.0.11:compile
                      [INFO] |  |  +- org.apache.wicket:wicket-request:jar:8.14.0:compile
                      [INFO] |  |  +- org.apache.wicket:wicket-util:jar:8.14.0:compile
                      [INFO] |  |  \- org.danekja:jdk-serializable-functional:jar:1.8.6:compile
                      [INFO] |  +- org.apache.wicket:wicket-spring:jar:8.14.0:compile
                      [INFO] |  |  \- org.apache.wicket:wicket-ioc:jar:8.14.0:compile
                      [INFO] |  |     +- cglib:cglib-nodep:jar:3.2.12:compile
                      [INFO] |  |     +- javax.inject:javax.inject:jar:1:compile
                      [INFO] |  |     \- org.ow2.asm:asm-util:jar:7.1:compile
                      [INFO] |  |        +- org.ow2.asm:asm:jar:7.1:compile
                      [INFO] |  |        +- org.ow2.asm:asm-tree:jar:7.1:compile
                      [INFO] |  |        \- org.ow2.asm:asm-analysis:jar:7.1:compile
                      [INFO] |  +- org.wicketstuff:wicketstuff-minis:jar:8.14.0:compile
                      [INFO] |  +- org.apache.wicket:wicket-bean-validation:jar:8.13.0:compile
                      [INFO] |  +- com.vaynberg.wicket.select2:wicket-select2:jar:4.1:compile
                      [INFO] |  +- cas:casclient:jar:2.1.1:compile
                      [INFO] |  |  \- commons-logging:commons-logging:jar:1.0.4:compile
                      [INFO] |  +- org.jasig.cas:cas-client-core:jar:3.1.2:compile
                      [INFO] |  +- joda-time:joda-time-hibernate:jar:1.3:compile
                      [INFO] |  +- org.jadira.usertype:usertype.jodatime:jar:2.0.1:compile
                      [INFO] |  |  \- org.jadira.usertype:usertype.spi:jar:2.0.1:compile
                      [INFO] |  +- org.hibernate:hibernate-core:jar:5.3.6.Final:compile
                      [INFO] |  |  +- javax.persistence:javax.persistence-api:jar:2.2:compile
                      [INFO] |  |  +- org.javassist:javassist:jar:3.23.1-GA:compile
                      [INFO] |  |  +- net.bytebuddy:byte-buddy:jar:1.8.17:compile
                      [INFO] |  |  +- antlr:antlr:jar:2.7.7:compile
                      [INFO] |  |  +- org.jboss.spec.javax.transaction:jboss-transaction-api_1.2_spec:jar:1.1.1.Final:compile
                      [INFO] |  |  +- org.jboss:jandex:jar:2.0.5.Final:compile
                      [INFO] |  |  +- javax.activation:javax.activation-api:jar:1.2.0:compile
                      [INFO] |  |  +- dom4j:dom4j:jar:1.6.1:compile
                      [INFO] |  |  \- org.hibernate.common:hibernate-commons-annotations:jar:5.0.4.Final:compile
                      [INFO] |  +- commons-dbcp:commons-dbcp:jar:1.4:compile
                      [INFO] |  |  \- commons-pool:commons-pool:jar:1.5.4:compile
                      [INFO] |  +- org.hibernate:hibernate-ehcache:jar:5.3.6.Final:compile
                      [INFO] |  |  \- net.sf.ehcache:ehcache:jar:2.10.3:compile
                      [INFO] |  +- com.ibm.icu:icu4j:jar:4.0.1:compile
                      [INFO] |  +- org.apache.xmlbeans:xmlbeans:jar:2.6.0:compile
                      [INFO] |  |  \- stax:stax-api:jar:1.0.1:compile
                      [INFO] |  +- com.oracle:ojdbc16:jar:11.2.0.3.0:runtime
                      [INFO] |  +- commons-lang:commons-lang:jar:2.6:compile
                      [INFO] |  +- org.aspectj:aspectjrt:jar:1.5.4:compile
                      [INFO] |  +- log4j:log4j:jar:1.2.17:compile
                      [INFO] |  +- commons-io:commons-io:jar:2.4:compile
                      [INFO] |  +- org.hibernate:hibernate-envers:jar:5.3.6.Final:compile
                      [INFO] |  +- javax.mail:mail:jar:1.4.4:compile
                      [INFO] |  |  \- javax.activation:activation:jar:1.1:compile
                      [INFO] |  +- com.code-troopers:wicket-editable-grid:jar:0.1:compile
                      [INFO] |  +- org.apache.cxf:cxf-rt-databinding-jaxb:jar:2.7.3:compile
                      [INFO] |  |  +- org.apache.cxf:cxf-api:jar:2.7.3:compile
                      [INFO] |  |  |  +- org.codehaus.woodstox:woodstox-core-asl:jar:4.1.4:runtime
                      [INFO] |  |  |  |  \- org.codehaus.woodstox:stax2-api:jar:3.1.1:runtime
                      [INFO] |  |  |  +- org.apache.ws.xmlschema:xmlschema-core:jar:2.0.3:compile
                      [INFO] |  |  |  \- wsdl4j:wsdl4j:jar:1.6.2:compile
                      [INFO] |  |  +- org.apache.cxf:cxf-rt-core:jar:2.7.3:compile
                      [INFO] |  |  +- com.sun.xml.bind:jaxb-impl:jar:2.1.13:compile
                      [INFO] |  |  \- com.sun.xml.bind:jaxb-xjc:jar:2.1.13:compile
                      [INFO] |  +- org.apache.cxf:cxf-rt-frontend-jaxws:jar:2.7.3:compile
                      [INFO] |  |  +- xml-resolver:xml-resolver:jar:1.2:compile
                      [INFO] |  |  +- asm:asm:jar:3.3.1:compile
                      [INFO] |  |  +- org.apache.cxf:cxf-rt-bindings-soap:jar:2.7.3:compile
                      [INFO] |  |  +- org.apache.cxf:cxf-rt-bindings-xml:jar:2.7.3:compile
                      [INFO] |  |  +- org.apache.cxf:cxf-rt-frontend-simple:jar:2.7.3:compile
                      [INFO] |  |  \- org.apache.cxf:cxf-rt-ws-addr:jar:2.7.3:compile
                      [INFO] |  |     \- org.apache.cxf:cxf-rt-ws-policy:jar:2.7.3:compile
                      [INFO] |  |        \- org.apache.neethi:neethi:jar:3.0.2:compile
                      [INFO] |  +- org.apache.cxf:cxf-rt-transports-http:jar:2.7.3:compile
                      [INFO] |  +- org.apache.httpcomponents:httpclient:jar:4.4:compile
                      [INFO] |  |  \- org.apache.httpcomponents:httpcore:jar:4.4:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-core:jar:2.9.1:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-annotations:jar:2.9.1:compile
                      [INFO] |  +- com.fasterxml.jackson.core:jackson-databind:jar:2.9.1:compile
                      [INFO] |  +- com.fasterxml.jackson.datatype:jackson-datatype-joda:jar:2.9.1:compile
                      [INFO] |  |  \- joda-time:joda-time:jar:2.7:compile
                      [INFO] |  +- com.googlecode.wicket-jquery-ui:wicket-jquery-ui:jar:8.13.0:compile
                      [INFO] |  |  \- com.googlecode.wicket-jquery-ui:wicket-jquery-ui-core:jar:8.13.0:compile
                      [INFO] |  +- com.dhl.webcommon:saml-filter:jar:1.0.10.0:compile
                      [INFO] |  +- com.dhl.webcommon:dhl-dbc:jar:1.1.82.0:compile
                      [INFO] |  +- com.dhl.webcommon:dhl-resources:jar:1.1.160.0:compile
                      [INFO] |  \- org.flywaydb:flyway-core:jar:4.0.3:compile
                      [INFO] +- org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
                      [INFO] +- javax.validation:validation-api:jar:2.0.1.Final:compile
                      [INFO] +- ch.qos.logback:logback-core:jar:1.2.3:compile
                      [INFO] +- ch.qos.logback:logback-classic:jar:1.2.3:compile
                      [INFO] +- org.slf4j:slf4j-api:jar:1.7.25:compile
                      [INFO] +- javax.xml.ws:jaxws-api:jar:2.2.12:compile
                      [INFO] |  \- javax.xml.soap:javax.xml.soap-api:jar:1.3.5:compile
                      [INFO] +- javax.jws:javax.jws-api:jar:1.1:compile
                      [INFO] +- net.logstash.logback:logstash-logback-encoder:jar:6.3:compile
                      [INFO] +- org.codehaus.janino:janino:jar:3.0.6:compile
                      [INFO] |  \- org.codehaus.janino:commons-compiler:jar:3.0.6:compile
                      [INFO] +- javax.annotation:javax.annotation-api:jar:1.3.2:compile
                      [INFO] +- org.springframework.security.oauth:spring-security-oauth2:jar:2.0.12.RELEASE:compile
                      [INFO] |  +- commons-codec:commons-codec:jar:1.9:compile
                      [INFO] |  \- org.codehaus.jackson:jackson-mapper-asl:jar:1.9.13:compile
                      [INFO] |     \- org.codehaus.jackson:jackson-core-asl:jar:1.9.13:compile
                      [INFO] +- net.ttddyy:datasource-proxy:jar:1.4.1:compile
                      [INFO] |  \- org.mockito:mockito-core:jar:1.9.5:compile
                      [INFO] |     \- org.objenesis:objenesis:jar:1.0:compile
                      [INFO] +- junit:junit:jar:4.11:test
                      [INFO] |  \- org.hamcrest:hamcrest-core:jar:1.3:test
                      [INFO] +- org.hsqldb:hsqldb:jar:2.2.8:test
                      [INFO] +- org.mockito:mockito-all:jar:1.9.5:test
                      [INFO] +- javax.servlet:javax.servlet-api:jar:3.0.1:test
                      [INFO] +- com.jayway.jsonpath:json-path:jar:0.8.1:test
                      [INFO] |  \- net.minidev:json-smart:jar:1.1.1:test
                      [INFO] +- com.jayway.jsonpath:json-path-assert:jar:0.8.1:test
                      [INFO] |  \- org.hamcrest:hamcrest-library:jar:1.2.1:test
                      [INFO] +- org.wicketstuff:wicketstuff-tinymce:jar:6.30.0:compile
                      [INFO] |  +- org.apache.wicket:wicket-extensions:jar:6.30.0:compile
                      [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
                      [INFO] |  +- net.sf.jazzy:jazzy:jar:0.5.2-rtext-1.4.1:compile
                      [INFO] |  +- org.json:json:jar:20090211:compile
                      [INFO] |  \- org.apache.wicket:wicket:pom:6.30.0:compile
                      [INFO] +- javax.servlet:servlet-api:jar:2.5:provided
                      [INFO] +- org.apache.tika:tika-core:jar:1.17:compile
                      [INFO] +- org.hibernate.validator:hibernate-validator:jar:6.0.12.Final:compile
                      [INFO] |  +- org.jboss.logging:jboss-logging:jar:3.3.2.Final:compile
                      [INFO] |  \- com.fasterxml:classmate:jar:1.3.4:compile
                      [INFO] +- org.hibernate.validator:hibernate-validator-annotation-processor:jar:6.0.12.Final:compile
                      [INFO] +- org.hibernate.javax.persistence:hibernate-jpa-2.1-api:jar:1.0.2.Final:compile
                      [INFO] +- org.apache.poi:poi:jar:3.17:compile
                      [INFO] +- org.apache.poi:poi-ooxml:jar:3.17:compile
                      [INFO] |  \- com.github.virtuald:curvesapi:jar:1.04:compile
                      [INFO] +- org.apache.poi:ooxml-schemas:jar:1.1:compile
                      [INFO] +- org.apache.poi:poi-ooxml-schemas:jar:3.14:compile
                      [INFO] +- javax.xml.bind:jaxb-api:jar:2.2.11:compile
                      [INFO] +- io.springfox:springfox-swagger2:jar:2.9.2:compile
                      [INFO] |  +- io.swagger:swagger-annotations:jar:1.5.20:compile
                      [INFO] |  +- io.swagger:swagger-models:jar:1.5.20:compile
                      [INFO] |  +- io.springfox:springfox-spi:jar:2.9.2:compile
                      [INFO] |  |  \- io.springfox:springfox-core:jar:2.9.2:compile
                      [INFO] |  +- io.springfox:springfox-schema:jar:2.9.2:compile
                      [INFO] |  +- io.springfox:springfox-swagger-common:jar:2.9.2:compile
                      [INFO] |  +- io.springfox:springfox-spring-web:jar:2.9.2:compile
                      [INFO] |  +- org.springframework.plugin:spring-plugin-core:jar:1.2.0.RELEASE:compile
                      [INFO] |  +- org.springframework.plugin:spring-plugin-metadata:jar:1.2.0.RELEASE:compile
                      [INFO] |  \- org.mapstruct:mapstruct:jar:1.2.0.Final:compile
                      [INFO] +- io.springfox:springfox-swagger-ui:jar:2.9.2:compile
                      [INFO] +- com.google.guava:guava:jar:21.0:compile
                      [INFO] +- io.jsonwebtoken:jjwt:jar:0.7.0:compile
                      [INFO] +- com.google.code.findbugs:jsr305:jar:3.0.2:compile
                      [INFO] +- org.apache.commons:commons-collections4:jar:4.1:compile
                      [INFO] +- io.swagger:swagger-jaxrs:jar:1.6.0:compile
                      [INFO] |  +- io.swagger:swagger-core:jar:1.6.0:compile
                      [INFO] |  |  +- org.apache.commons:commons-lang3:jar:3.2.1:compile
                      [INFO] |  |  \- com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:jar:2.10.1:compile
                      [INFO] |  |     \- org.yaml:snakeyaml:jar:1.24:compile
                      [INFO] |  +- javax.ws.rs:jsr311-api:jar:1.1.1:compile
                      [INFO] |  \- org.reflections:reflections:jar:0.9.11:compile
                      [INFO] +- org.owasp.esapi:esapi:jar:2.2.3.1:compile
                      [INFO] |  +- com.io7m.xom:xom:jar:1.2.10:compile
                      [INFO] |  +- commons-beanutils:commons-beanutils:jar:1.9.4:compile
                      [INFO] |  +- commons-configuration:commons-configuration:jar:1.10:compile
                      [INFO] |  +- commons-fileupload:commons-fileupload:jar:1.3.3:compile
                      [INFO] |  +- org.apache-extras.beanshell:bsh:jar:2.0b6:compile
                      [INFO] |  +- org.owasp.antisamy:antisamy:jar:1.6.3:compile
                      [INFO] |  |  +- net.sourceforge.nekohtml:nekohtml:jar:1.9.22:compile
                      [INFO] |  |  +- org.apache.xmlgraphics:batik-css:jar:1.14:compile
                      [INFO] |  |  |  +- org.apache.xmlgraphics:batik-shared-resources:jar:1.14:compile
                      [INFO] |  |  |  +- org.apache.xmlgraphics:batik-util:jar:1.14:compile
                      [INFO] |  |  |  |  +- org.apache.xmlgraphics:batik-constants:jar:1.14:compile
                      [INFO] |  |  |  |  \- org.apache.xmlgraphics:batik-i18n:jar:1.14:compile
                      [INFO] |  |  |  \- org.apache.xmlgraphics:xmlgraphics-commons:jar:2.6:compile
                      [INFO] |  |  +- xerces:xercesImpl:jar:2.12.1:compile
                      [INFO] |  |  \- xml-apis:xml-apis-ext:jar:1.3.04:compile
                      [INFO] |  \- xml-apis:xml-apis:jar:1.4.01:compile
                      [INFO] \- org.springframework:spring-test:jar:4.3.1.RELEASE:test
                      

                      Can someone please give me a point how to solve this issue? Im little stuck with it. In org.apache.wicket.settings there is JavaScriptLibrarySettings in wicket core. I dont know how to solve this issue, maybe there is some obsolate dependency. Thanks for help.

                      ANSWER

                      Answered 2022-Apr-14 at 18:20

                      Almost all Wicket dependencies are 8.14.0 but few are 8.13.0 (not really a problem but better keep them in sync):

                      • org.apache.wicket:wicket-bean-validation:jar:8.13.0:compile
                      • com.googlecode.wicket-jquery-ui:wicket-jquery-ui:jar:8.13.0:compile
                      • com.googlecode.wicket-jquery-ui:wicket-jquery-ui-core:jar:8.13.0:compile

                      The real problem is:

                      [INFO] +- org.wicketstuff:wicketstuff-tinymce:jar:6.30.0:compile
                      [INFO] |  +- org.apache.wicket:wicket-extensions:jar:6.30.0:compile
                      [INFO] |  +- commons-collections:commons-collections:jar:3.2.1:compile
                      [INFO] |  +- net.sf.jazzy:jazzy:jar:0.5.2-rtext-1.4.1:compile
                      [INFO] |  +- org.json:json:jar:20090211:compile
                      [INFO] |  \- org.apache.wicket:wicket:pom:6.30.0:compile
                      

                      Do not mix Wicket deps with differences in the major version (8 vs 6)!

                      Source https://stackoverflow.com/questions/71872709

                      Community Discussions, Code Snippets contain sources that include Stack Exchange Network

                      Vulnerabilities

                      No vulnerabilities reported

                      Install javassist

                      You can download it from GitHub, Maven.
                      You can use javassist like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the javassist component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .

                      Support

                      For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .

                      DOWNLOAD this Library from

                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      Explore Related Topics

                      Share this Page

                      share link
                      Consider Popular Bytecode Libraries
                      Compare Bytecode Libraries with Highest Support
                      Compare Bytecode Libraries with Highest Quality
                      Compare Bytecode Libraries with Highest Security
                      Compare Bytecode Libraries with Permissive License
                      Compare Bytecode Libraries with Highest Reuse
                      Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from
                      over 430 million Knowledge Items
                      Find more libraries
                      Reuse Solution Kits and Libraries Curated by Popular Use Cases
                      Explore Kits

                      Save this library and start creating your kit

                      • © 2022 Open Weaver Inc.