| |

VerySource

 Forgot password?
 Register
Search
View: 902|Reply: 6

anxious! Develop jsp website under windows running on unix, can't find jar package when using javamail, online etc.!

[Copy link]

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

Post time: 2020-2-1 19:00:02
| Show all posts |Read mode
The tomcat server used, because javamail is used in the program, so the jar package is introduced, and the development and operation under windows are normal, but the exception that the class in the jar package cannot be found on the server publishing the website (jar on unix) Package under the WEB-INF lib), what should I do?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 Italy

Post time: 2020-3-17 09:00:01
| Show all posts
Take a look at the CALSS-PATH variable
Reply

Use magic Report

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-3-19 14:15:01
| Show all posts
The server said that CALSS-PATH has been set, I began to wonder if there is any special configuration for javamail under Unix? !! Depressed, no clue for a few days, I really hope that a master can click!
Reply

Use magic Report

0

Threads

4

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-19 15:45:01
| Show all posts
Take a look at the tomcat lib
Reply

Use magic Report

1

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2020-3-19 22:30:01
| Show all posts
Now the jar package on Unix is ​​under the WEB-INF lib
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-3 15:15:01
| Show all posts
Thank you, it should be added to the extension directory of java_home instead of jre/lib/ext under jre
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-9-3 17:30:01
| Show all posts
Is it under %java_home%/lib?
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