Opened 13 years ago

Closed 13 years ago

#108 closed defect (fixed)

add google guava jar to build path

Reported by: Kevin Milner Owned by: Kevin Milner
Priority: major Milestone: OpenSHA 1.1
Component: build-process Version: 1.0.x
Keywords: HazardCurveServer Cc:


Application: HazardCurveServer?
Version: 1.0.2
Steps to reproduce: Calculate a hazard curve
Other info: the guava jar needs to be added to the builds for the applications


java.lang.NoClassDefFoundError: com/google/common/base/Preconditions
	at org.opensha.commons.geo.Region.distanceToLocation(
	at org.opensha.sha.earthquake.rupForecastImpl.FloatingPoissonFaultSource.getMinDistance(
	at org.opensha.sha.calc.HazardCurveCalculator.getHazardCurve(
	at org.opensha.sha.gui.HazardCurveServerModeApplication.handleForecastList(
	at org.opensha.sha.gui.HazardCurveServerModeApplication.computeHazardCurve(
Caused by: java.lang.ClassNotFoundException:
	at Method)
	at com.sun.jnlp.JNLPClassLoader.findClass(
	at java.lang.ClassLoader.loadClass(
	at java.lang.ClassLoader.loadClass(
	... 7 more

Change History (1)

comment:1 Changed 13 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

done in [7295]. Unfortunately, this increased the size of our apps by 1.1 MB, but it probably has a lot of useful and well-tested code we could reuse.

Note: See TracTickets for help on using tickets.