Opened 12 months ago
Closed 12 months ago
#2795 closed defect (fixed)
petascope fails to start when recompiling with make
Reported by: | Dimitar Misev | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 10.2 |
Component: | petascope | Version: | 10.2 |
Keywords: | Cc: | ||
Complexity: | Medium |
Description
To reproduce:
- run
make petascope && make install
first time - make some changes in petascope code
- run
make petascope && make install
again - petascope will fail to start now with error
INFO [2023-12-12 11:03:58] ConfigManager@744: -- OGC STANDARDS INFO [2023-12-12 11:03:58] ConfigManager@745: CIS: [1.1] INFO [2023-12-12 11:03:58] ConfigManager@746: WCS: [2.0.1, 2.1.0] INFO [2023-12-12 11:03:58] ConfigManager@747: WCS-T: [2.0.0] INFO [2023-12-12 11:03:58] ConfigManager@748: WCPS: [1.0.0] INFO [2023-12-12 11:03:58] ConfigManager@749: WMS: [1.3.0] INFO [2023-12-12 11:03:58] ConfigManager@751: ------------------------------------ Exception in thread "main" java.lang.reflect.InvocationTargetException at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:108) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59) Caused by: java.lang.NoClassDefFoundError: org/gdal/gdal/gdal at org.rasdaman.config.ConfigManager.initSettings(ConfigManager.java:393) at org.rasdaman.config.ConfigManager.<init>(ConfigManager.java:353) at org.rasdaman.config.ConfigManager.init(ConfigManager.java:319) at org.rasdaman.ApplicationMain.initConfigurations(ApplicationMain.java:236) at org.rasdaman.ApplicationMain.init(ApplicationMain.java:199) at org.rasdaman.ApplicationMain.main(ApplicationMain.java:572) ... 8 more Caused by: java.lang.ClassNotFoundException: org.gdal.gdal.gdal
Change History (2)
comment:1 by , 12 months ago
comment:2 by , 12 months ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
The workaround is to always run
rm -rf applications/petascope/target/
first, which isn't a good solution.