While working with hibernate this error can be faced. This is because absence of ‘javaassist.jar’ in your classpath.
- Unable to instantiate default tuplizer [org.hibernate.tuple.entity.PojoEntityTuplizer]
- Exception in thread "main" java.lang.NullPointerException
- at driver.Driver.main(Driver.java:39)
What is JavaAssist?
Javassist (Java programming assistant) is a load-time reflective system for Java. 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 before the JVM loads it. Unlike other similar systems, Javassist provides source-level abstraction; programmers can modify a class file without detailed knowledge of the Java bytecode. They do not have to even write an inserted bytecode sequence; Javassist instead can compile a fragment of source text on line (for example, just a single statement). This ease of use is a unique feature of Javassit against other tools.
Click here to download and read more about javaassist.
Your Suggestion Are Always Welcomed.
Image may be NSFW.Clik here to view.
