I closed netbeans and now my project doesnt run, what to do?

Viewed 402

Here is the message that i get when trying to run the project:

ant -f "C:\\Users\\xxx\\Desktop\\Netbeans Projects\\CryptoFever2" -Dnb.internal.action.name=run run
init:
Deleting: C:\Users\xxx\Desktop\Netbeans Projects\CryptoFever2\build\built-jar.properties
deps-jar:
Updating property file: C:\Users\xxx\Desktop\Netbeans Projects\CryptoFever2\build\built-jar.properties
Compiling 19 source files to C:\Users\xxx\Desktop\Netbeans Projects\CryptoFever2\build\classes
warning: [options] bootstrap class path not set in conjunction with -source 8
C:\Users\xxx\Desktop\Eclipse projects\CryptoFever2\src\Interfaz\Login.java:193: error: unmappable character (0xF1) for encoding UTF-8
                    JOptionPane.showMessageDialog(frmCryptoFever,"Usuario o contrase?a incorrectas");
                                                                                    ^
C:\Users\xxx\Desktop\Eclipse projects\CryptoFever2\src\Interfaz\New_user.java:177: error: unmappable character (0xE1) for encoding UTF-8
                       JOptionPane.showMessageDialog(frame, "El email introducido no es v?lido");
                                                                                         ^
2 errors
1 warning
BUILD FAILED (total time: 0 seconds)

I closed netbeans and saw a message before, something like "there are processes open". Now cant run the project.

Thanks in advance,

Editted: I exported the project, then reinstalled JDK and netbeans and everything is ok,

1 Answers

I think you are having an encoding problem with your source file. It appears you have some accented characters in your message dialog which the compiler is not able to handle. I would check the encoding of your source files to make sure they are UTF-8 and make sure your compiler is set to use the same.

Also, see this post for similar responses: "Unmappable character for encoding UTF-8" error

Related