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

Exception in thread "AWT-Windows" #5

Open
MisterK91 opened this issue Sep 6, 2021 · 0 comments
Open

Exception in thread "AWT-Windows" #5

MisterK91 opened this issue Sep 6, 2021 · 0 comments

Comments

@MisterK91
Copy link

Helllo folks!
Actually I am faced with a challenge building a Dockerimage on WINDOWS NANOSERVER basis.

I tried to build my own image by modifying following dockerfile from here https://github.com/vaadin-learning-center/flow-docker-app/blob/master/Dockerfile

# Set escape char for Windows build systems
# escape=`
# Windows distribution
FROM openjdk:11-nanoserver
WORKDIR /
ADD target/*.jar app.jar
EXPOSE 8080
CMD java -jar app.jar

But somehow I retrieve following really strange error message:

Exception in thread "AWT-Windows" java.lang.InternalError: unsupported screen depth
        at java.desktop/sun.awt.windows.WToolkit.init(Native Method)
        at java.desktop/sun.awt.windows.WToolkit.run(WToolkit.java:293)
        at java.base/java.lang.Thread.run(Thread.java:829)

Would really welcome your support.
Thanks.

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

1 participant