Skip to content

BufferedImageHttpMessageConverter doesn't work on Google AppEngine [SPR-5975] #10643

Closed
@spring-projects-issues

Description

@spring-projects-issues

Andrey Paramonov opened SPR-5975 and commented

After upgrading Spring version to 3.0.0, application deployed on GAE fails with exception:

Caused by: java.lang.NoClassDefFoundError: javax.imageio.ImageIO is a restricted class. Please see the Google App Engine developer's guide for more details.
	at com.google.apphosting.runtime.security.shared.stub.javax.imageio.ImageIO.<clinit>(ImageIO.java)
	at org.springframework.http.converter.BufferedImageHttpMessageConverter.<init>(BufferedImageHttpMessageConverter.java:70)
	at org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.<init>(AnnotationMethodHandlerAdapter.java:166)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
	at java.lang.reflect.Constructor.newInstance(Unknown Source)
	at com.google.apphosting.runtime.security.shared.intercept.java.lang.reflect.Constructor_.newInstance(Constructor_.java:60)
	at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:127)

See also: http://code.google.com/p/googleappengine/issues/detail?id=1268


Affects: 3.0 M3

Referenced from: commits 4267f84

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions