Open wmwong opened 5 years ago
I too am getting similar warnings, though I am not using Cloud Endpoints.
I started getting these warnings only recently, without any library/configuration change that could account for this sudden change. Running the development server locally seems to be fine, but I am too scared to deploy to a production environment.
I have played around with versions of appengine-api-1.0-sdk
and appengine-api-labs
(these are the ones reporting conflicting files) but that doesn't seem to make any difference.
Here's a sample (lightly formatted):
com.google.appengine.tools.appstats.StatsProtos scanned from multiple locations:
jar:file:///C:/Users/hsjawanda/Code/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/quiz/WEB-INF/lib/appengine-api-labs-1.9.49.jar!/com/google/appengine/tools/appstats/StatsProtos.class,
jar:file:///C:/Users/hsjawanda/Code/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/quiz/WEB-INF/lib/appengine-api-1.0-sdk-1.9.68.jar!/com/google/appengine/tools/appstats/StatsProtos.class
I updated appengine-api-labs
to 1.9.68, but that didn't make any difference.
I am getting similar log and slowing down the development.
GCLOUD: 2019-03-28 12:06:13.677:WARN:oeja.AnnotationParser:qtp226710952-19: org.apache.commons.collections.list.PredicatedList scanned from multiple locations: jar:file:///C:/java/qpsample/target/qpsample-1.0-SNAPSHOT/WEB-INF/lib/commons-collections-3.2.1.jar!/org/apache/commons/collections/list/PredicatedList.class, jar:file:///C:/java/qpsample/target/qpsample-1.0-SNAPSHOT/WEB-INF/lib/ipp-v3-java-devkit-5.0.2-jar-with-dependencies.jar!/org/apache/commons/collections/list/PredicatedList.class
+1 example:
2019-07-29 12:24:25.076:WARN:oeja.AnnotationParser:qtp2094411587-15: com.google.api.Distribution$BucketOptions$LinearOrBuilder scanned from multiple locations:
jar:file:///home/user/src/Intellij/selknam/selknam/target/mypry-1.0-SNAPSHOT/WEB-INF/lib/endpoints-management-protos-1.0.11.jar!/com/google/api/Distribution$BucketOptions$LinearOrBuilder.class,
jar:file:///home/user/src/Intellij/selknam/selknam/target/mypry-1.0-SNAPSHOT/WEB-INF/lib/proto-google-common-protos-1.0.0.jar!/com/google/api/Distribution$BucketOptions$LinearOrBuilder.class
For more details: https://stackoverflow.com/questions/53240103/gcloud-throws-a-lot-of-info-warn-scanned-from-multiple-locations-when-running