简体   繁体   中英

error importing java DidiSoft.pgp. library

I was download trial version DidiSoft.Pgp.Trial from https://www.didisoft.com/java-openpgp/ and I added that free lib and when I wanted to run example of downloaded file,this error occur :

java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: Uncompilable source code - package keystore does not exist at javaapplication2.JavaApplication2.(JavaApplication2.java:10) Exception in thread "main" C:\\Users\\13\\AppData\\Local\\NetBeans\\Cache\\8.2\\executor-snippets\\run.xml:53: Java returned: 1 BUILD FAILED (total time: 1 second)

and did not import this lib import com.didisoft.pgp.KeyStore;

Are you using NetBeans? Usually the uncompilable source code error is the result of having the "Compile on save" option active. Go to Build > Compiling and deselect this option. https://netbeans.org/bugzilla/show_bug.cgi?id=199293

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