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 Spring JIRA by Frédéric Camblor, 2 years ago
Encountered " "package" "package "" at line 1, column 1. Was expecting one of: <EOF> "abstract" ... "class" ... "enum" ... "final" ... "import" ... "interface" ... "native" ... "private" ... "protected
via Spring JIRA by Frédéric Camblor, 1 year ago
Encountered " "package" "package "" at line 1, column 1. Was expecting one of: <EOF> "abstract" ... "class" ... "enum" ... "final" ... "import" ... "interface" ... "native" ... "private" ... "protected
via GitHub by dgutov
, 2 years ago
Encountered " <IDENTIFIER> "out "" at line 114, column 13. Was expecting one of: "catch" ... "finally" ...
japa.parser.ParseException: Encountered " "package" "package "" at line 1, column 1.
Was expecting one of:
    <EOF>
    "abstract" ...
    "class" ...
    "enum" ...
    "final" ...
    "import" ...
    "interface" ...
    "native" ...
    "private" ...
    "protected" ...
    "public" ...
    "static" ...
    "strictfp" ...
    "synchronized" ...
    "transient" ...
    "volatile" ...
    ";" ...
    "@" ...
    "\u001a" ...
    "@" ...
    "@" ...
    "@" ...	at japa.parser.ASTParser.generateParseException(ASTParser.java:7697)	at japa.parser.ASTParser.jj_consume_token(ASTParser.java:7570)	at japa.parser.ASTParser.CompilationUnit(ASTParser.java:190)	at japa.parser.JavaParser.parse(JavaParser.java:81)	at japa.parser.JavaParser.parse(JavaParser.java:94)	at org.springframework.roo.classpath.javaparser.JavaParserClassMetadata.(JavaParserClassMetadata.java:56)	at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.get(JavaParserMetadataProvider.java:153)	at org.springframework.roo.metadata.internal.DefaultMetadataService.get(DefaultMetadataService.java:106)	at org.springframework.roo.metadata.internal.DefaultMetadataService.get(DefaultMetadataService.java:124)	at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:175)	at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:100)	at org.springframework.roo.metadata.internal.DefaultMetadataService.notify(DefaultMetadataService.java:148)	at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:255)	at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:131)	at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:324)	at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanNotified(PollingFileMonitorService.java:210)	at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:137)	at org.springframework.roo.process.manager.internal.DefaultProcessManager.execute(DefaultProcessManager.java:94)	at org.springframework.roo.bootstrap.ProcessManagerHostedExecutionStrategy.execute(ProcessManagerHostedExecutionStrategy.java:31)	at org.springframework.roo.shell.internal.AbstractShell.executeCommand(AbstractShell.java:128)	at org.springframework.roo.shell.jline.JLineShell.promptLoop(JLineShell.java:158)	at org.springframework.roo.bootstrap.Bootstrap.run(Bootstrap.java:113)	at org.springframework.roo.bootstrap.Bootstrap.main(Bootstrap.java:53)