Click here to Skip to main content
15,897,704 members

Comments by Member 11593571 (Top 54 by date)

Member 11593571 3-Sep-16 14:22pm View    
'Starting tomcat v9.0 Server at localhost' has encountered a problem. Server Tomcat v9.0 server at localhost failed to start. is the fulls error and the error occures at Session session = Session.getInstance(props,
new javax.mail.Authenticator() {
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(username, password);
}
});
Member 11593571 19-Jun-16 18:46pm View    
Deleted
anyone have any idea of what to do?
Member 11593571 19-Jun-16 15:18pm View    
oh boy, even if i do it just by cout << "ซ" << endl; it prints α╕ï. so what would you say now?
Member 11593571 19-Jun-16 12:58pm View    
i have tried solution 1 and 2 over and over but no changes, and i commented to Sergey Alexandrovich Kryukov reply if you would read it.
Member 11593571 19-Jun-16 12:57pm View    
first of all without typecasting buf to (char*) it doesn't compiles it, so i had to do it this way: write_on.write((char*)buf, wcslen(buf) * sizeof(wchar_t)); but still no changes made and still getting VT and SO instead of my custom character.