maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stug23 <pat.poden...@gmail.com>
Subject Re: How do I find the Jar that conatains this method signature?
Date Fri, 29 Jan 2010 04:33:49 GMT

You can easily research the class by using the very handy jarvana.com web
site:

  
<http://jarvana.com/jarvana/search?search_type=class&java_class=org.apache.xpath.compiler.FunctionTable>

>From the search link above you can drill into the class to see all of the
methods.

For example:

   
<http://jarvana.com/jarvana/view/com/google/gwt/gwt-dev/2.0.0-rc1/gwt-dev-2.0.0-rc1.jar!/org/apache/xpath/compiler/FunctionTable.class?classDetails=ok>


laredotornado wrote:
> 
> Hi,
> 
> I'm using an older version of Maven (1.1) for my project.  I am getting
> the error when running unit tests ...
> 
> org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I
> java.lang.NoSuchMethodError:
> org.apache.xpath.compiler.FunctionTable.installFunction(Ljava/lang/String;Ljava/lang/Class;)I
>         at
> com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.initFunctionTable(XPathAdapter.java:52)
>         at
> com.gargoylesoftware.htmlunit.html.xpath.XPathAdapter.<init>(XPathAdapter.java:68)
>         at
> com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.evaluateXPath(XPathUtils.java:128)
>         at
> com.gargoylesoftware.htmlunit.html.xpath.XPathUtils.getByXPath(XPathUtils.java:72)
>         at
> com.gargoylesoftware.htmlunit.javascript.host.HTMLCollection.computeElements(HTMLCollection.java:245)
> 
> 
> Does anyone know how I can figure out what JAR and its specific version
> contains the class and method with the specified signature?  I want to use
> htmlunit 2.5 and as such, thought I had included all the relevant JARs in
> my dependency list, but I guess not.  
> 
> Project.xml is below.  Thanks, - Dave
> 
> 
> ================Begin project.xml ======================
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
> 	<extend>../project.xml</extend>
> 	<name>myco-dor-online-interlock-test</name>
> 	<artifactId>myco-dor-online-interlock-test</artifactId>
> 	<description>myco Interlock Tests</description>
> 	<shortDescription>myco Interlock Tests</shortDescription>
> 	<build>
> 		<!--
> 			<sourceDirectory>${basedir}/../webapp/src/main/java</sourceDirectory>
> 		-->
> 		<unitTestSourceDirectory>src/main/test</unitTestSourceDirectory>
> 		<unitTest>
> 			<includes>
> 				<include>**/*Test.java</include>
> 			</includes>
> 		</unitTest>
> 		<resources>
> 			<resource>
> 				<directory>${basedir}/src/main/resources</directory>
> 				<includes>
> 					<include>**/*.xml</include>
> 					<include>**/*.properties</include>
> 				</includes>
> 			</resource>
> 			<resource>
> 				<directory>${basedir}/../service/src/main/resources</directory>
> 				<includes>
> 					<include>**/*.xml</include>
> 				</includes>
> 			</resource>
> 		</resources>
> 	</build>
> 	<dependencies>
> 		<dependency>
> 			<groupId>myco.dor.online.interlock</groupId>
> 			<artifactId>myco-dor-online-interlock-model</artifactId>
> 			<version>${pom.currentVersion}</version>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 				<eclipse.dependency>true</eclipse.dependency>
> 			</properties>
> 		</dependency>
> 		<dependency>
> 			<groupId>myco.dor.online.interlock</groupId>
> 			<artifactId>myco-dor-online-interlock-service</artifactId>
> 			<version>${pom.currentVersion}</version>
> 			<type>jar</type>
> 		</dependency>
> 
> 		<dependency>
> 			<groupId>net.sourceforge.jwebunit</groupId>
> 			<artifactId>jwebunit-htmlunit-plugin</artifactId>
> 			<version>2.2</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>junit</groupId>
> 			<artifactId>junit</artifactId>
> 			<version>3.8.1</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>net.sourceforge.cssparser</groupId>
> 			<artifactId>cssparser</artifactId>
> 			<version>0.9.5</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>net.sourceforge.htmlunit</groupId>
> 			<artifactId>htmlunit</artifactId>
> 			<version>2.5</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>net.sourceforge.htmlunit</groupId>
> 			<artifactId>htmlunit-core-js</artifactId>
> 			<version>2.5</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>net.sourceforge.jwebunit</groupId>
> 			<artifactId>jwebunit-commons-tests</artifactId>
> 			<version>2.2</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>net.sourceforge.jwebunit</groupId>
> 			<artifactId>jwebunit-core</artifactId>
> 			<version>2.2</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>net.sourceforge.nekohtml</groupId>
> 			<artifactId>nekohtml</artifactId>
> 			<version>1.9.12</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.mockito</groupId>
> 			<artifactId>mockito-all</artifactId>
> 			<version>1.7</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.mortbay.jetty</groupId>
> 			<artifactId>jetty</artifactId>
> 			<version>6.1.12</version>
> 		</dependency>
> 		<!--
> 			<dependency> <groupId>org.mortbay.jetty</groupId>
> 			<artifactId>servlet-api-2.5</artifactId> <version>6.1.12</version>
> 			</dependency>
> 		-->
> 		<dependency>
> 			<groupId>org.slf4j</groupId>
> 			<artifactId>slf4j-api</artifactId>
> 			<version>1.5.0</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.slf4j</groupId>
> 			<artifactId>slf4j-log4j12</artifactId>
> 			<version>1.5.0</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.w3c.css</groupId>
> 			<artifactId>sac</artifactId>
> 			<version>1.3</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.regexp</groupId>
> 			<artifactId>regexp</artifactId>
> 			<version>1.3</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>xalan</groupId>
> 			<artifactId>xalan</artifactId>
> 			<version>2.7.1</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>xerces</groupId>
> 			<artifactId>xercesImpl</artifactId>
> 			<version>2.8.1</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>xml-apis</groupId>
> 			<artifactId>xml-apis</artifactId>
> 			<version>1.3.04</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>commons-httpclient</groupId>
> 			<artifactId>commons-httpclient</artifactId>
> 			<version>3.1</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>commons-collections</groupId>
> 			<artifactId>commons-collections</artifactId>
> 			<version>3.2.1</version>
> 			<type>jar</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>commons-codec</groupId>
> 			<artifactId>commons-codec</artifactId>
> 			<version>1.3</version>
> 			<type>jar</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>commons-lang</groupId>
> 			<artifactId>commons-lang</artifactId>
> 			<version>2.4</version>
> 			<type>jar</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>commons-io</groupId>
> 			<artifactId>commons-io</artifactId>
> 			<version>1.4</version>
> 			<type>jar</type>
> 		</dependency>
> 
> 		<dependency>
> 			<groupId>com.caucho</groupId>
> 			<artifactId>resin</artifactId>
> 			<version>3.0.9</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.mockejb</groupId>
> 			<artifactId>mockejb</artifactId>
> 			<version>0.6-beta2</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>com.mockrunner</groupId>
> 			<artifactId>mockrunner</artifactId>
> 			<version>0.3.1</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>cglib</groupId>
> 			<artifactId>cglib</artifactId>
> 			<version>2.2</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>asm</groupId>
> 			<artifactId>asm</artifactId>
> 			<version>3.2</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>geronimo-spec</groupId>
> 			<artifactId>geronimo-spec-j2ee</artifactId>
> 			<version>1.4-rc4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>dom4j</groupId>
> 			<artifactId>dom4j</artifactId>
> 			<version>1.6.1</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>log4j</groupId>
> 			<artifactId>log4j</artifactId>
> 			<version>1.2.15</version>
> 		</dependency>
> 
> 		<dependency>
> 			<groupId>myco.dor.dmv.driver.matching</groupId>
> 			<artifactId>myco-dor-dmv-driver-matching-service</artifactId>
> 			<version>1.1</version>
> 			<type>ejb-client</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>myco.dor.dmv.driver.matching</groupId>
> 			<artifactId>myco-dor-dmv-driver-matching-model</artifactId>
> 			<version>1.1</version>
> 			<type>jar</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>myco.dor.dmv.miidb</groupId>
> 			<artifactId>myco-dor-dmv-miidb-service</artifactId>
> 			<type>ejb-client</type>
> 			<version>1.9.9</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>myco.dor.dmv.miidb</groupId>
> 			<artifactId>myco-dor-dmv-miidb-model</artifactId>
> 			<version>1.9.9</version>
> 			<type>jar</type>
> 		</dependency>
> 		<!-- Database dependencies -->
> 		<dependency>
> 			<groupId>oracle</groupId>
> 			<artifactId>ojdbc14</artifactId>
> 			<version>10.2.0</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>oracle</groupId>
> 			<artifactId>orai18n</artifactId>
> 			<version>10.2.0</version>
> 		</dependency>
> 
> 		<dependency>
> 			<groupId>org.hibernate</groupId>
> 			<artifactId>hibernate-annotations</artifactId>
> 			<version>3.4.0.GA</version>
> 			<type>jar</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.hibernate</groupId>
> 			<artifactId>hibernate-commons-annotations</artifactId>
> 			<version>3.4.0.GA</version>
> 			<type>jar</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.hibernate</groupId>
> 			<artifactId>hibernate-tools</artifactId>
> 			<version>3.2.0.ga</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.hibernate</groupId>
> 			<artifactId>hibernate</artifactId>
> 			<version>3.3.2.GA</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>javassist</groupId>
> 			<artifactId>javassist</artifactId>
> 			<version>3.8.0.GA</version>
> 		</dependency>
> 
> 		<dependency>
> 			<groupId>org.apache.poi</groupId>
> 			<artifactId>poi</artifactId>
> 			<version>3.2-FINAL</version>
> 			<type>jar</type>
> 		</dependency>
> 
> 		<dependency>
> 			<groupId>org.apache.myfaces.core</groupId>
> 			<artifactId>myfaces-api</artifactId>
> 			<version>1.1.5</version>
> 			<type>jar</type>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.myfaces.core</groupId>
> 			<artifactId>myfaces-impl</artifactId>
> 			<version>1.1.5</version>
> 			<type>jar</type>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> 		<dependency>
> 			<groupId>org.apache.myfaces.tomahawk</groupId>
> 			<artifactId>tomahawk</artifactId>
> 			<version>1.1.6</version>
> 			<type>jar</type>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> 		<dependency>
> 			<groupId>jstl</groupId>
> 			<artifactId>jstl</artifactId>
> 			<version>1.1.2</version>
> 			<type>jar</type>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> 		<dependency>
> 			<groupId>taglibs</groupId>
> 			<artifactId>standard</artifactId>
> 			<version>1.1.2</version>
> 			<type>jar</type>
> 			<properties>
> 				<war.bundle>true</war.bundle>
> 			</properties>
> 		</dependency>
> 		<dependency>
> 			<groupId>servletapi</groupId>
> 			<artifactId>servletapi</artifactId>
> 			<version>2.4</version>
> 		</dependency>
> 		<dependency>
> 			<groupId>javax.persistence</groupId>
> 			<artifactId>persistence-api</artifactId>
> 			<version>1.0</version>
> 			<type>jar</type>
> 		</dependency>
> 		<dependency>
> 			<groupId>oro</groupId>
> 			<artifactId>oro</artifactId>
> 			<version>2.0.8</version>
> 		</dependency>
> 
> 
> 	</dependencies>
> 
> </project>
> =================End project.xml ======================
> 

-- 
View this message in context: http://old.nabble.com/How-do-I-find-the-Jar-that-conatains-this-method-signature--tp27358764p27366752.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message