Discuss Error preverifying class in the Java Help forum on Dev Shed. Error preverifying class Java Help forum discussing all Java platforms - J2ME, J2SE and J2EE - as well as relevant standards, APIs and frameworks such as Swing, Servlets, JSPs, Applets, Struts, Spring, Hibernate, ANT, EJB, and other Java-related topics.
The ASP Free website provides in-depth information on the latest developer tools available from Microsoft. Our cadre of writers, highly experienced industry experts, reveals the best ways to use established technologies as well as new and emerging technologies. Our coverage of Microsoft's development and administration technologies is among the most respected in the IT industry today.
ASP Free and Iron Speed Designer are giving away $5,500+ in FREE licenses. Iron Speed's RAD CASE toolset can save up to 80% of your coding time. One free license per week, one perpetual license per month! Download and Activate to enter!
Intel® Graphics Performance Analyzers is a powerful tool suite for analyzing and optimizing your games, media, and graphics-intensive applications. Used by some of the best developers on the planet, Intel GPA lets you maximize your app’s performance.
Posts: 2
Time spent in forums: 1 h 8 m 37 sec
Reputation Power: 0
Error preverifying class
hi all,
I created small snake game using MIDP 2.0 and it all compiled and build ok. when I tried to build it for MIDP 1.0 I got error preverifying class:
Error preverifying class org.netbeans.microedition.lcdui.TableItem
java/lang/NoClassDefFoundError: javax/microedition/lcdui/CustomItem
when Im tring seperately compile each of the files, it compiles ok. also compiling all project works ok.
can anyone tell me what my problem is?
Posts: 5
Time spent in forums: 1 h 52 m 8 sec
Reputation Power: 0
Hi Gadi,
CustomItem is new to MIDP 2.0.
A short explanation of this class from Sun Developer Network is: MIDP 2.0 introduced the javax.microedition.lcdui.CustomItem class. As the name implies, a developer can now create custom UI components by extending the CustomItem class. ...
An example of its use is then given here http://developers.sun.com/techtopic...item/index.html
Posts: 2
Time spent in forums: 1 h 8 m 37 sec
Reputation Power: 0
thanks,
thanks for the answer.
the problem is Im NOT using this class or any of the
org.netbeans.microedition.lcdui.* classes
could it be something in the project settings?
Posts: 1
Time spent in forums: 4 m 40 sec
Reputation Power: 0
I also had this problem, and this is how I solved it:
Rightclick your project, click Properties, go to "Libraries & Resources", and uncheck "NetBeans MIDP Components". That solved the issue here.
EDIT: oops, sorry, I didnt notice how old this post was...