Skip to content
This repository was archived by the owner on Jun 30, 2023. It is now read-only.
This repository was archived by the owner on Jun 30, 2023. It is now read-only.

A lot of info/warn “scanned from multiple locations” when running standard Java appengine app on local machine #174

Open

Description

@wmwong
   [INFO] GCLOUD: 2018-11-10 09:29:59.763:WARN:oeja.AnnotationParser:qtp1335050193-20: javax.jdo.spi.JDOImplHelper scanned from multiple locations: 
    jar:file:///D:/Temp/endpoints-v2-backend/target/echo-j8-1.0-SNAPSHOT/WEB-INF/lib/jdo2-api-2.3-eb.jar!/javax/jdo/spi/JDOImplHelper.class, 
    jar:file:///D:/Temp/endpoints-v2-backend/target/echo-j8-1.0-SNAPSHOT/WEB-INF/lib/endpoints-management-control-appengine-all-1.0.10.jar!/javax/jdo/spi/JDOImplHelper.class

For more details:
https://stackoverflow.com/questions/53240103/gcloud-throws-a-lot-of-info-warn-scanned-from-multiple-locations-when-running

Activity

  1. hsjawanda commented on Dec 15, 2018

    @hsjawanda

    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.

  2. rajesh99 commented on Mar 28, 2019

    @rajesh99

    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

  3. niesteszeck commented on Jul 29, 2019

    @niesteszeck

    +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
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions