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

DefaultQA ERRORS when using SolrProvider #2

Closed
Ruil opened this issue Oct 13, 2012 · 11 comments
Closed

DefaultQA ERRORS when using SolrProvider #2

Ruil opened this issue Oct 13, 2012 · 11 comments

Comments

@Ruil
Copy link
Member

Ruil commented Oct 13, 2012

Before I added solrprovider into maven's dependency, everything is good. But after I added this guy, I got errors in the class.edu.cmu.lti.oaqa.bio.framework.report.DatabaseReportComponentBuilder. For example,

Description Resource Path Location Type
The type com.google.common.collect.Table cannot be resolved. It is indirectly referenced from required .class files DatabaseReportComponentBuilder.java /DefaultQA/src/main/java/edu/cmu/lti/oaqa/bio/framework/report line 1 Java Problem

Any idea?

@elmer-garduno
Copy link
Contributor

Which version of solr-provider are you using, could you paste your Maven dependency tag?

@Ruil
Copy link
Member Author

Ruil commented Oct 13, 2012

[image: Inline image 1]

On Sat, Oct 13, 2012 at 2:06 PM, Elmer Garduño notifications@github.comwrote:

Which version of solr-provider are you using, could you paste your Maven
....?


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9406994.

@elmer-garduno
Copy link
Contributor

Your Maven <dependency> tag?

@Ruil
Copy link
Member Author

Ruil commented Oct 13, 2012

e...? What do you mean? My DefaultQA's pom is here:


4.0.0
edu.cmu.lti.oaqa.bio.core
defaultqa
1.2.18-SNAPSHOT

edu.cmu.lti.oaqa
oaqa
4


scm:svn:svn://
mu.lti.cs.cmu.edu/bio/trunk/edu.cmu.lti.oaqa.bio.core.DefaultQA
scm:svn:svn://
mu.lti.cs.cmu.edu/bio/trunk/edu.cmu.lti.oaqa.bio.core.DefaultQA




oaqa
http://mu.lti.cs.cmu.edu:8081/nexus/content/groups/public




osx


mac



<build.type>jnilib</build.type>
<build.artifact>libindri_jni</build.artifact>
<build.name>libindri_jni</build.name>



org.lemurproject
indri
5.2
jar
compile




x86-windows


Windows
x86



<build.type>dll</build.type>
<build.artifact>indri_jni</build.artifact>
<build.name>indri_jni</build.name>



org.lemurproject
indri
5.2
jar
compile




x64-nix


Linux
amd64



<build.type>so</build.type>
<build.artifact>libindri_jni_64</build.artifact>
<build.name>libindri_jni</build.name>



org.lemurproject
indri_64
5.2
jar
compile




x64-amd-windows


Windows
amd64



<build.type>dll</build.type>
<build.artifact>indri_jni_64</build.artifact>
<build.name>indri_jni</build.name>



org.lemurproject
indri_64
5.2
jar
compile




x64-windows


Windows
x86_64



<build.type>dll</build.type>
<build.artifact>indri_jni_64</build.artifact>
<build.name>indri_jni</build.name>



org.lemurproject
indri_64
5.2
jar
compile







org.apache.maven.plugins
maven-dependency-plugin
2.4


copy
generate-resources

copy




org.lemurproject
${build.artifact}
5.2
${build.type}
true
${project.build.directory}/lib
${build.name}.${build.type}







org.codehaus.mojo
exec-maven-plugin



exec




java

-Xmx2500m
-Djava.library.path=${project.build.directory}/lib/
-classpath

edu.cmu.lti.oaqa.ecd.driver.ECDDriver default.default-test org.apache.maven.plugins maven-compiler-plugin 1.6 1.6 org.eclipse.m2e lifecycle-mapping 1.0.0 org.apache.maven.plugins maven-dependency-plugin [2.4,) copy edu.cmu.lti.oaqa.bio.core.provider indri-provider 1.1.1 edu.cmu.lti.oaqa.bio.core baseqa 1.7.0 edu.cmu.lti.oaqa.bio.model bio-model 1.0.1 edu.cmu.lti.oaqa.framework.impl jdbc-providers 2.2.0 edu.cmu.lti.oaqa.core.provider solr-provider 1.0.4

On Sat, Oct 13, 2012 at 2:15 PM, Elmer Garduño notifications@github.comwrote:

Your Maven tag?


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9407092.

@elmer-garduno
Copy link
Contributor

Please use version 1.0.5

<dependency> 
 <groupId>edu.cmu.lti.oaqa.core.provider</groupId> 
 <artifactId>solr-provider</artifactId> 
 <version>1.0.5</version> 
</dependency> 

@Ruil
Copy link
Member Author

Ruil commented Oct 13, 2012

Hi Elmer,
I changed 1.0.4 to 1.0.5 and I've updated the Maven project, but I still
have the error:
[image: Inline image 1]

On Sat, Oct 13, 2012 at 3:54 PM, Elmer Garduño notifications@github.comwrote:

Please use version 1.0.5

edu.cmu.lti.oaqa.core.provider solr-provider 1.0.5


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9408685.

@Ruil
Copy link
Member Author

Ruil commented Oct 13, 2012

btw, I didn't have any errors before adding solr-provider.

Thanks,
Rui

On Sat, Oct 13, 2012 at 4:05 PM, Rui Liu ult.rui.liu@gmail.com wrote:

Hi Elmer,
I changed 1.0.4 to 1.0.5 and I've updated the Maven project, but I still
have the error:
[image: Inline image 1]

On Sat, Oct 13, 2012 at 3:54 PM, Elmer Garduño notifications@github.comwrote:

Please use version 1.0.5

edu.cmu.lti.oaqa.core.provider solr-provider 1.0.5


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9408685.

@elmer-garduno
Copy link
Contributor

I understand, what's happening is that you didn't reach that point of the code before, because you didn't had a provider; so no info -> no evaluation. And the error is coming from the evaluation code.

The problem seems to be on DefaultQA. Can you see a google-guava dependency on the Dependency Hierarchy tab?

@Ruil
Copy link
Member Author

Ruil commented Oct 13, 2012

Yes, I can see that.

[image: Inline image 1]

On Sat, Oct 13, 2012 at 4:59 PM, Elmer Garduño notifications@github.comwrote:

I understand, what's happening is that you didn't reach that point of the
code before, because you didn't had a provider; so no info -> no
evaluation. And the error is coming from the evaluation code.

The problem seems to be on DefaultQA. Can you see a google-guava
dependency on the Dependency Hierarchy tab?


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9409575.

@elmer-garduno
Copy link
Contributor

Ok, I fixed it, can you update DefaultQA. The problem was a bad transitive dependency on an old version of guava, that comes with solr.

@Ruil
Copy link
Member Author

Ruil commented Oct 13, 2012

Nice! I'll do it.

On Sat, Oct 13, 2012 at 5:38 PM, Elmer Garduño notifications@github.comwrote:

Ok, I fixed it, can you update DefaultQA. The problem was a bad transitive
dependency on an old version of guava, that comes with solr.


Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-9410646.

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

No branches or pull requests

2 participants