Skip to content

error: illegal start of type declaration #11423

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Raghav2211 opened this issue Mar 7, 2019 · 2 comments
Closed

error: illegal start of type declaration #11423

Raghav2211 opened this issue Mar 7, 2019 · 2 comments

Comments

@Raghav2211
Copy link

Raghav2211 commented Mar 7, 2019

wrap: org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) -> [Help 1]

[ERROR] 
/src/main/java/module-info.java:8: error: illegal start of type declaration
[INFO] module modulename {
[INFO]        ^
[ERROR] one error found

Java version

java version "10.0.2" 2018-07-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.2+13)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.2+13, mixed mode)

Maven dependency

<dependency>
    <groupId>org.scala-lang</groupId>
    <artifactId>scala-library</artifactId>
    <version>2.12.4</version>
</dependency>
@SethTisue
Copy link
Member

how did this error arise? how I would reproduce it on my own machine?

@som-snytt
Copy link

The canonical issue for module support is scala/scala-dev#529

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants