简体   繁体   中英

error:no class definition found error. javax/mail/part

I am trying to run a file but it shows this error...I have include mail.jar in class path then what could be the reason of error?

error:no class definition found error. javax/mail/part

I haven't included the code as its a big code and I don't know which part to post..

Add it to your Build Path.

Right click your Project -> Properties -> Java Build Path -> Order & Export

After reaching here, libraries what you have used, "select" those libraries and move them to top of list. ie suppose you have used "xyz.jar" file then following will be your sequence.

[x] xyz.jar [x] someother.jar

Save changes and rebuild your project after cleaning it.

taken from No Class Def Found Error (android)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM