Skip to content
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

error: illegal start of type declaration #11423

Open
Raghav2211 opened this Issue Mar 7, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@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

This comment has been minimized.

Copy link
Member

SethTisue commented Mar 7, 2019

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

@som-snytt

This comment has been minimized.

Copy link

som-snytt commented Mar 7, 2019

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
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.