| |

VerySource

 Forgot password?
 Register
Search
View: 742|Reply: 5

Problem with JFTP.jar

[Copy link]

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

Post time: 2020-2-13 22:00:01
| Show all posts |Read mode
My J2EE Project includes commons-logging and log4j-1.2.8 packages, which can still run normally. But after adding JFtp.jar, the original Application couldn't run at all, and the following error was found in the Eclipse console:

Critical: Error reading tld listeners javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/tld/struts-menu.tld in context / FileManager
javax.servlet.ServletException: Exception processing TLD at resource path /WEB-INF/tld/struts-menu.tld in context / FileManager

2017-1-4 17:49:08 org.apache.commons.digester.Digester endElement
Severe: End event threw exception
java.lang.reflect.InvocationTargetException


Which hero can help solve it!
Reply

Use magic Report

0

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 United States

Post time: 2020-4-13 19:15:01
| Show all posts
Looks like there is something wrong with the label, check it
Reply

Use magic Report

1

Threads

51

Posts

32.00

Credits

Newbie

Rank: 1

Credits
32.00

 China

Post time: 2020-4-18 10:30:01
| Show all posts
Adding a JAR package in it may cause the program to not run? LZ removes the JAR package and still cannot run
The wrong report is that there is a problem with the custom taglib of struts-menu.tld.
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 India

 Author| Post time: 2020-5-1 14:30:01
| Show all posts
This is indeed the case. At first, I also felt that there was a problem with the label, and it took a lot of time to check. After removing JFtp.jar, the Web service will run normally. Of course, the program involving JFtp.jar can't be compiled, I don't know if there is any way to solve it
Reply

Use magic Report

0

Threads

18

Posts

11.00

Credits

Newbie

Rank: 1

Credits
11.00

 China

Post time: 2020-5-6 12:00:01
| Show all posts
Change to the WAR package. . . . . . . .
Reply

Use magic Report

1

Threads

3

Posts

4.00

Credits

Newbie

Rank: 1

Credits
4.00

 China

 Author| Post time: 2020-5-14 20:30:01
| Show all posts
The problem is solved, JFtp.jar contains the Apache code, and my Project also has the Apache jar, which is estimated to be a conflict. Delete all the classes under the org package in JFtp.jar.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list