Today heritrix is deployed

Source: Internet
Author: User

Today, I tried to deploy the heritrix crawler. I have never played java before. It took a lot of time to prepare the environment. First, the 32bit and 64bit environment problems occurred. I installed the 32bit JVM on win2008, the result shows that 64-bit eclipse is downloaded. The result is: failed to load the JNI shared library "D: \ Java \ bin \ Client \ JVM, And the JVM cannot be loaded. DLL. It was discovered that it was a 32-bit and 64-bit problem. After downloading the 64-bit JVM, it would be okay.

 

For installation instructions, see:

Http://www.ibm.com/developerworks/cn/opensource/os-cn-heritrix/index.html

 

Installation Problems:

Exception in thread "Main" org. mortbay. util. multiexception [java.net. bindexception: address already in use: jvm_bind]
At org. mortbay. http. httpserver. Start (httpserver. Java: 640)
At org. archive. crawler. simplehttpserver. startserver (simplehttpserver. Java: 279)
At org. archive. crawler. heritrix. startembeddedwebserver (heritrix. Java: 1236)
At org. archive. crawler. heritrix. dow.lineargs (heritrix. Java: 715)
At org. archive. crawler. heritrix. Main (heritrix. Java: 556)

 

The reason is that the port is occupied. change or terminate the port.ProgramYou can.

 

The selection does not contain a main type

Solution: Delete the JRE system library in libraries of buidl path, and then click Add libraray on the right to join again. This is strange.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.