Author |
Message |
16/05/2018 05:35:45
|
rchiluano
Power User
Joined: 28/12/2017 07:21:54
Messages: 79
Offline
|
Hi captain, I'm in a middle of developing right now.
But suddenly, I encounter a problem which all of the components in captain casa wont read my code.
I tried creating another jsp and a class on the same project, but the problem still exist.
I tried creating another project but it's working good.
This happens after the update of my windows this morning. Is this a bug?
Please help.
Thanks!
Regards,
Ryan
|
|
|
16/05/2018 05:39:59
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Hi,
what do you mean with "components in captain casa wont read my code"?
1. You pages come up (controls visible) but your processing does not work?
or
2. In the layout editor you do not see the code generator?
or
??
It it's 1: take a look into the log. Default location: tomcat/work/Catalina/localhost/<yourapp>/ - Is there any error information in the log?
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
16/05/2018 05:49:55
|
rchiluano
Power User
Joined: 28/12/2017 07:21:54
Messages: 79
Offline
|
Hi captain.
It's 1 and here is the logs.
Regards,
Ryan
Filename |
log.PNG |
Download
|
Description |
logs |
Filesize |
56 Kbytes
|
Downloaded: |
237 time(s) |
|
|
|
16/05/2018 05:58:06
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Please take a look into the newest log_eclntjsfserver-file and check the content! ;-)
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
16/05/2018 06:11:16
|
rchiluano
Power User
Joined: 28/12/2017 07:21:54
Messages: 79
Offline
|
Error says :
java.lang.Error: Problem occurred when resolving the class for binding key: classname.
What does this mean ?
|
|
|
16/05/2018 06:38:01
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Please attach the full log (if >100 kByte: send to info@captaincasa.com - the forum has max. atachment size...)
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
16/05/2018 06:50:03
|
rchiluano
Power User
Joined: 28/12/2017 07:21:54
Messages: 79
Offline
|
There you go, thanks Captian.
Filename |
log_eclntjsfserver.txt.0.11 |
Download
|
Description |
|
Filesize |
99 Kbytes
|
Downloaded: |
122 time(s) |
|
|
|
16/05/2018 07:32:30
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
Hi,
the UI tries to talk to an instance of MainUI - and this MainUI cannot be reached.
Code:
2018:05:16 14:46:01:528 | 108 | SEVERE | Problem occurred when resolving the class for binding key: MainUI
2018:05:16 14:46:01:528 | 108 | SEVERE | Problem occurred when resolving the class for binding key: no class was found for the key
2018:05:16 14:46:01:528 | 108 | WARNING | Could not create/access managed bean for: MainUI
2018:05:16 14:46:01:528 | 108 | INFO | Reason
.......... Stacktrace Info ..........
java.lang.Error: Problem occurred when resolving the class for binding key: MainUI
at org.eclnt.jsfserver.managedbean.DefaultDispatcher.readObject(DefaultDispatcher.java:513)
at org.eclnt.jsfserver.managedbean.DefaultDispatcher.get(DefaultDispatcher.java:450)
at javax.el.MapELResolver.getValue(MapELResolver.java:65)
at com.sun.faces.el.DemuxCompositeELResolver._getValue(DemuxCompositeELResolver.java:176)
The class cannot be reached: I assume the .class is not part of the WEB-INF/classes or WEB-INF/lib inside your tomcat/webapps/<app> directory?
If you use hot deployment: also check eclnthotdeploy/classes directory.
Maybe you should do a full re-deployment of your project to your tomcat. (Clean&Reload in Layout Editor).
Regards, Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
16/05/2018 07:40:32
|
rchiluano
Power User
Joined: 28/12/2017 07:21:54
Messages: 79
Offline
|
Hi captain,
I tried this one already but there's no response. There is no error printed in the console as well.
Code:
public MainUI()
{
try{
System.out.println("Test");
Statusbar.outputSuccessWithPopup("test").setLeftTopReferenceCentered();
}catch(Throwable th){
th.printStackTrace();
Statusbar.outputAlert(th.toString()).setLeftTopReferenceCentered();
}
}
Edit:
I check eclnthotdeploy and MainUI existed in there as well.
|
|
|
|