Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Martijn Burger
, 1 year ago
Configuration Error: Line 2: expected [controlFlag]
via jakarta-slide-user by Satish, 2 years ago
Unable to locate a login configuration
via Oracle Community by 843829, 2 years ago
Unable to locate a login configuration
via Server Fault by Andrej
, 11 months ago
via Oracle Community by 843829, 2 years ago
Unable to locate a login configuration
java.lang.SecurityException: Configuration Error: Line 2: expected [controlFlag] at com.sun.security.auth.login.ConfigFile.<init>(Unknown Source) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at java.lang.Class.newInstance(Unknown Source) at javax.security.auth.login.Configuration$3.run(Unknown Source) at javax.security.auth.login.Configuration$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.Configuration.getConfiguration(Unknown Source) at javax.security.auth.login.LoginContext$1.run(Unknown Source) at javax.security.auth.login.LoginContext$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.login.LoginContext.init(Unknown Source) at javax.security.auth.login.LoginContext.<init>(Unknown Source) at net.sourceforge.spnego.SpnegoHttpURLConnection.<init>(SpnegoHttpURLConnection.java:206) at HelloKeytab.main(HelloKeytab.java:15)Caused by: java.io.IOException: Configuration Error: Line 2: expected [controlFlag] at com.sun.security.auth.login.ConfigFile.match(Unknown Source) at com.sun.security.auth.login.ConfigFile.parseLoginEntry(Unknown Source) at com.sun.security.auth.login.ConfigFile.readConfig(Unknown Source) at com.sun.security.auth.login.ConfigFile.init(Unknown Source) at com.sun.security.auth.login.ConfigFile.init(Unknown Source) ... 17 more