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

Unable to start gradle examples #60

Open
fclaeys opened this issue Dec 11, 2017 · 2 comments
Open

Unable to start gradle examples #60

fclaeys opened this issue Dec 11, 2017 · 2 comments

Comments

@fclaeys
Copy link

fclaeys commented Dec 11, 2017

Hello,
I try to use UP with a java gradle springboot REST API, the UP command run fine but when I want to connect to the app I got an error 500.

I also tried with the java-gradle-springboot exemple and have the same error.

The logs in cloudwatch says:

{
"fields": {
"app": "java-gradle-springboot",
"plugin": "relay",
"region": "eu-west-1",
"stage": "development",
"version": "$LATEST"
},
"level": "error",
"timestamp": "2017-12-11T15:55:16.49454422Z",
"message": "sh: ./server: No such file or directory"
}

@tj
Copy link
Member

tj commented Dec 13, 2017

Those examples were contributed, I don't know much about the Java environment, not much of a help there unfortunately

@fclaeys
Copy link
Author

fclaeys commented Dec 14, 2017

@tj I'll try to have a look

up build and up start on a java gradle project run fine on my laptop.
The out.zip seems to have the correct content, but lambda want to start a ./server

I'll update this issue, when I found something

OK, I found some related comments in apex/up#391

@tj, the build.gradle file is always excluded from out.zip (zip.go line 47). I made a PR apex/up#518 to resolve this issue.

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