Written by

Question Nezla · Apr 3, 2024

Zen Page can't find compiled class

Hi Guys,

After converting from Ensemble 2014 to 2018 and ran my application I get the below error message:

 

 

MSDS.ZEN.Component.imageclickbuttom exits and compiles fine and also compiled the Zen page extending the class successfully  but still getting the error so not sure why I'm still getting the error!?

Thanks

Product version: Ensemble 2018.1

Comments

Enrico Parisi · Apr 3, 2024

You had 24 errors during compilation, maybe (probably) one of the 24 is the "missing" class.

Can you try to compile that class individually?

0
Nezla  Apr 3, 2024 to Enrico Parisi

Yes, as I mentioned I compiled MSDS.ZEN.Component.imageclickbuttom and also class in question MSDS.UI.HandHeld.RTLSLogin.ProductLine and both compiled successfully

I also ran d $System.OBJ.CompileAll("c-k-l") from the terminal and yes I got 24 Errors but none is related to classes in question (MSDS.ZEN.Component.imageclickbuttom or MSDS.UI.HandHeld.RTLSLogin.ProductLine)

0
Stephen Canzano · Apr 3, 2024

Try this but I might be incorrect.  It looks like you have a custom component which you have highlighted.  When you compile the component class it produces a .js file in InstallDirectory\CSP\broker.  Look there to see if the file is there.  If not consider recompiling your component class and ensure that the .js class exists.

0
Nezla  Apr 3, 2024 to Stephen Canzano

When I compile the class of the custom component it creates the .js & .css components in install\CSP\us-serenity where us-serenity is my namespace, so I manually copied those  components to install\CSP\broker and that fixed the error, so I'm wondering why when compiling it doesn't generate to broker folder or how can I make my install look for the generated components in  install\CSP\us-serenity instead of install\CSP\broker
?
   

Thanks Stephen

0