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 in running master.war #8

Open
Sivasankaramalan opened this issue Dec 2, 2022 · 5 comments
Open

Error in running master.war #8

Sivasankaramalan opened this issue Dec 2, 2022 · 5 comments

Comments

@Sivasankaramalan
Copy link

Hi, Getting this error while running the master.war file. @sarathpharmeasy Please help us resolving this issue

no main manifest attribute, in build/libs/master.war

@sarathpharmeasy
Copy link
Collaborator

sarathpharmeasy commented Dec 2, 2022

./gradlew clean build bootJar -x test try running this command and then java -jar build/libs/master.war @Sivasankaramalan

@Sivasankaramalan
Copy link
Author

Sivasankaramalan commented Dec 2, 2022

I've done the same but still the issue exists. Please find the logs below

❯ ./gradlew clean build bootJar -x test


> Task :compileJava
Note: /Users/**/Desktop/lampo/master/src/main/java/com/lampo/device_lab/master/utils/CommonUtilities.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD SUCCESSFUL in 13s
8 actionable tasks: 8 executed
❯ java -jar build/libs/master.war
no main manifest attribute, in build/libs/master.war

~/Desktop/lampo/master master* ❯                                                                                                                                                                                                            13:34:54

@Sivasankaramalan
Copy link
Author

Can we connect over a call to resolve this? @sarathpharmeasy

@Sivasankaramalan
Copy link
Author

Able to resolve this by running the jar file java -jar build/libs/master-1.0.0-RELEASE.jar. Both the Master and slave applications are running fine, but there is an issue in downloading the chromedriver, it's always trying to download from this URL, which does not have any files. https://chromedriver.storage.googleapis.com/107.0.5304.62/chromedriver_mac32.zip

In Master seeing the below stackoverflow issue:

15:05:45.085 [http-nio-80-exec-1] ERROR o.a.c.c.C.[.[.[.[dispatcherServlet] - Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Handler dispatch failed; nested exception is java.lang.StackOverflowError] with root cause
 at com.lampo.device_lab.master.service.PhoneImageService.getPhotoByName(PhoneImageService.java:101)

@sarathpharmeasy
Copy link
Collaborator

@Sivasankaramalan can you please pull from master branch and try now?

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