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

Cornerstone does not find config.yml #16

Open
ahorn42 opened this issue Jun 29, 2020 · 9 comments
Open

Cornerstone does not find config.yml #16

ahorn42 opened this issue Jun 29, 2020 · 9 comments

Comments

@ahorn42
Copy link

ahorn42 commented Jun 29, 2020

java -jar .\target\infraworld-cornerstone.jar tells me to put my config.yml to

FATAL com.vizor.unreal.config.Config:231 - Please, put your config.yml into C:\Users\username\Desktop\temp\infraworld-tests\infraworld-cornerstone\target

even if a file called config.yml exists in this path.

Runing on Windows 10 with

openjdk 14.0.1 2020-04-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.1+7)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.1+7, mixed mode, sharing)
@ahorn42
Copy link
Author

ahorn42 commented Jun 29, 2020

same with Oracle Java 8

java version "1.8.0_251"
Java(TM) SE Runtime Environment (build 1.8.0_251-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.251-b08, mixed mode)

@ShuyingMaggieMi
Copy link

ShuyingMaggieMi commented Sep 2, 2020

Just got the same problem. I even copy the base configuration file (src/main/resources/config.yml) into the same level with infraworld-cornerstone.jar. it does not work. Do you solve it?

@ahorn42
Copy link
Author

ahorn42 commented Sep 2, 2020

nope - my work around is to run the src\main\java\com\vizor\unreal\Main.java in debug mode (with vs code with java extension) and modifying the config file located at src\main\resources\config.yml

@ShuyingMaggieMi
Copy link

ShuyingMaggieMi commented Sep 7, 2020 via email

@ahorn42
Copy link
Author

ahorn42 commented Sep 7, 2020

yeah, I got it running, but it was a hard and long way, but it runs very nicely if you got it running ;-) - It seems as the example requires another version (most likely a older version) of the plugin as it is on githubs master branch. But I am using the master right now. Unfortunately due to confidentiality I am not allowed to share the project with you :-/

@ShuyingMaggieMi
Copy link

ShuyingMaggieMi commented Sep 7, 2020 via email

@ShuyingMaggieMi
Copy link

ShuyingMaggieMi commented Sep 9, 2020 via email

@ahorn42
Copy link
Author

ahorn42 commented Sep 10, 2020

Hmpf - as I tried to look up what I exactly did I found out it isn't working for me anymore :-/ (but also your answer/report message is not visible on github, so I can't compare it) - maybe an update broke up things? But I can't remember that I have changed anything to the launch.json

I am currently getting a com/sun/jdi/ClassNotLoadedException Exception when hitting the Run or Debug button ...

@ahorn42
Copy link
Author

ahorn42 commented Sep 10, 2020

I am using openjdk 14

openjdk 14.0.2 2020-07-14
OpenJDK Runtime Environment AdoptOpenJDK (build 14.0.2+12)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 14.0.2+12, mixed mode, sharing)

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

2 participants