javassist « Development « Spring Q&A





1. Using Resteasy with javassist?    stackoverflow.com

I'm trying to use resteasy to serve out some entities fetched by spring-hibernate. I've configured one method which returns a POJO and works as expected:

@GET
@Path("/test")
@Produces(MediaType.APPLICATION_XML)
public Episode getTestEpisode() {
  Episode e ...

2. javassist.bytecode.ClassFile Error    forum.springsource.org

javassist.bytecode.ClassFile Error Hello All While trying to run a web application I get the captioned error. 06-Jan-2008 23:25:44 org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class ...

3. use javassist modify class error when in lib    forum.springsource.org

use javassist modify class error when in lib public class AclPageInvocation implements InitializingBean{ private String classname = "org.apache.commons.lang.StringUtils"; private String method = "isEmpty"; public void afterPropertiesSet() throws Exception { try{ ClassPool ...

4. Spring 3 JacksonJson has problem with Javassist    forum.springsource.org

Using JacksonJsonView with Spring 3 (RC2), Hibernate 3.3.2 app. Jackson has a workaround to skip over lazy loaded fields when using Cglib, but no support when using Javassist. There is an ...

5. Javassist and custom equals    forum.springsource.org

Basically, Hibernate extends the class at runtime by using Javassist and it only does this when necessary (depending how they are loaded). Therefore, I think that the best would be to ...