cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NoClassDefFoundError: javax/imageio/ImageIO

Former Member
0 Kudos

Hello alls,

I try to implement Captchas IView

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/ep/6.0/how captchas can be helpful in securing enterprise portals.pdf

But I get error

java.lang.NoClassDefFoundError: javax/imageio/ImageIO

Can someone say to me, what is the matter?

Thanks

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Deepika,

You could add the Catpcha on Logon Page?

Regards

guru_subramanianb
Active Contributor
0 Kudos

Hi,

Came to know that javax/imageio/ImageIO has been introduced with JSDK 1.4 but EP is running on a lower version.I think when you have Jdk 1.4 this error will be rectified.

See Devlet's suggestions also.

If you get answers for your query please close this thread.

Regards,

Guru

detlev_beutner
Active Contributor
0 Kudos

Hi Raissa, hi Guru,

this issue has been crossposted, for further discussion please refer to /thread/54051 [original link is broken]

Best regards

Detlev

guru_subramanianb
Active Contributor
0 Kudos

Hello Raissa,

Generally java.lang.NoClassDefFounderror wil be generally coming if your classpath is not set in your project in studio. Check whether you need to import any jar files for the application to be running.These jar files should be imported into the "lib" folder of your project.

Hope this info would have helped you.

Regards,

Guru

Former Member
0 Kudos

Thanks Guru,

I did not think for javax.imageio.imageIO need one additional jar. Deploy is made without errors.

Which Jar am I to insert which into the Classpath?

Regards,

Raissa