Link Details

Link 936755 thumbnail
User 1105111 avatar

By somaniab
Published: Mar 10 2013 / 11:16

ClassNotFoundException occurs, for some classes from rt.jar while compiling from ant.
  • 8
  • 1
  • 1000
  • 829
User 438487 avatar

chriswdennis replied ago:

0 votes Vote down Vote up Reply

You realize the class is missing from ct.sym because it's meant to be private! You're compiling against an unstable api (that class happens to not exist in Java 7 for example). I'm guessing you should probably be using ImageIO instead.

User 1105111 avatar

somaniab replied ago:

0 votes Vote down Vote up Reply

i understand your point that we should not use sun's proprietary api as they can change from jdk to jdk , but what about some third party jar which is already using it . in my case it was shopizer's classes using it .

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java