Jython saying "No visible constructors for class"
Posted
by clutch
on Stack Overflow
See other posts from Stack Overflow
or by clutch
Published on 2010-06-17T20:55:30Z
Indexed on
2010/06/18
8:13 UTC
Read the original article
Hit count: 293
I have a jython servlet as part of a large application running in tomcat5. I tested a few Spring Framework classes and create the objects in the Jython servlet. When I try to create objects of classes in the application I catch an Exception message "No visible constructors for class". These java classes do have a public constructor class, such as:
public SchoolImpl() {
}
I create the object in python:
from com.dc.sports.entity import SchoolImpl
...
school = SchoolImpl()
What am I doing wrong?
© Stack Overflow or respective owner