P
P
pomaz_andrew2017-04-06 15:29:11
Java
pomaz_andrew, 2017-04-06 15:29:11

How to set class visibility in Tomcat settings?

Good day everyone! The servlet (Eclipse + Tomcat)
uses the method of another plug-in class to execute the method, and that
, in turn, is another class. How to configure Tomcat so that the
servlet can access the third
(relatively speaking hidden) class at run time? Servlet startup throws
Error in Session.getService: java.lang.ClassNotFoundException: gbas.tvk.rwmap.rasst.ScriptService_Agent
java.lang.ClassNotFoundException: gbas.tvk.rwmap.rasst.ScriptService_Agent
Thanks for your help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2017-04-06
@pomaz_andrew

All required classes must be in the CLASSPATH and either be in the same package or have the public access modifier.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question