Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cosbench-oss build fails because of missing symbols #413

Open
thatsdone opened this issue Sep 20, 2021 · 0 comments · May be fixed by #418
Open

cosbench-oss build fails because of missing symbols #413

thatsdone opened this issue Sep 20, 2021 · 0 comments · May be fixed by #418

Comments

@thatsdone
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant