Skip to content

cosbench-oss build fails because of missing symbols #413

@thatsdone

Description

@thatsdone

DESCRIPTION

cosbench-oss build fails saying symbols in dependent packages not found.

REPRODUCE PROCEDURE

Just try to BUILD.md, and you would see
In case of me, I'm using Eclipse 2021-06 and Java-17 on Windows10.

ANALYSYS and SUGGESTED RESOLUTION

This issue is caused becase dev/cosbench-oss/.classpath refers the original contributor's local Eclipse runtime environment like the following.

$ cat  dev/cosbench-oss/.classpath
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
        <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
        <classpathentry kind="src" path="src"/>
        <classpathentry kind="lib" path="D:/Repository/cosbench-oss-jars/aliyun-sdk-oss-2.8.1.jar"/>
        <classpathentry kind="lib" path="D:/Repository/cosbench-oss-jars/commons-codec-1.9.jar"/>
        <classpathentry kind="lib" path="D:/Repository/cosbench-oss-jars/commons-logging-1.2.jar"/>
        <classpathentry kind="lib" path="D:/Repository/cosbench-oss-jars/hamcrest-core-1.1.jar"/>
        <classpathentry kind="lib" path="D:/Repository/cosbench-oss-jars/httpclient-4.4.jar"/>
        <classpathentry kind="lib" path="D:/Repository/cosbench-oss-jars/httpcore-4.4.jar"/>
        <classpathentry kind="lib" path="D:/Repository/cosbench-oss-jars/jdom-1.1.jar"/>
        <classpathentry kind="output" path="bin"/>
</classpath>

Actually, a chunk of PR from @Nathaniel7687 resolves this issue.

https://github.com/intel-cloud/cosbench/pull/373/files?file-filters%5B%5D=dotfile&hide-deleted-files=true#diff-79b4a0076c9d63216bc4a7701d85aed387ea2481f854871c83ccabc1d69cf480

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