Hi,
I'm following the pdf to create a reverse proxy using Netweaver Studio. However, I receive errors in the java code.
******************************************************
"Implicit super constructor HttpServletRequestWrapper is undefined for default constructor. Must define an explicit constructor.
Implicit super constructor HttpServletResponseWrapper is undefined for default constructor. Must define an explicit constructor.
The constructor RequestWrapper(HttpServletRequest) is undefined.
The constructor ResponseWrapper(HttpServletRequest, HttpServletResponse) is undefined.
**********************************************************
Any ideas?
Regards,
Jin Bae
You should define the default constructor.
In the Developer Studio, for the java source file in error,
Right Click mouse.
Click Source.
Click Add Constructors from Super Class.
You will now see the constructors added.
Remove the // TODO Auto-generated constructor stub line.
Example:-
public Z_JTEST2Bean() {
super();
}
Now save the file.
This should fix the problem.
Hope this helps.
Ads.
Add a comment