Print at Dec 16, 2025, 12:42:22 PM View all posts in this thread on one page
Posted by pohlmannfrank at Apr 2, 2022, 7:10:55 PM
Installation SweetHome3DJS
Hi there,
I'm trying to deloy SweetHome3DJS using Java 11 Node 14. 17 and I get the following error message
[java] 2022-04-02 17:07:32.032 INFO JSweetTranspiler:1170 - creating bundle file: tools\JSweet\build\ts\bundle.d.ts
[java] 2022-04-02 17:07:32.032 INFO JSweetTranspiler:1227 - created tools\JSweet\build\ts\bundle.d.ts
[java] 2022-04-02 17:07:32.032 INFO JSweetTranspiler:865 - ts2js on org.jsweet.transpiler.TypeScript2JavaScriptWithTscTranspiler@355ed0f4 sourceFiles=137
[java] 2022-04-02 17:07:32.032 INFO TypeScript2JavaScriptWithTscTranspiler:84 - launching tsc...
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13386,17): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(588)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13386,53): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(588)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13387,17): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(589)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13387,52): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(589)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13388,17): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(590)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13388,61): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(590)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13389,17): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(590)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13389,60): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(590)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13390,17): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(597)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13390,46): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(597)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13391,17): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(597)
[java] 2022-04-02 17:07:41.041 INFO TypeScript2JavaScriptWithTscTranspiler:94 - bundle.ts(13391,51): error TS17009: 'super' must be called before accessing 'this' in the constructor of a derived class.
[java] ERROR: 'super' must be called before accessing 'this' in the constructor of a derived class at ..\SweetHome3D\src\com\eteks\sweethome3d\model\CatalogDoorOrWindow.java(597)
[java] 2022-04-02 17:07:41.041 INFO JSweetTranspiler:849 - transpilation process finished in 22806 ms
[java] > java2ts: 14002.1578ms
[java] > ts2js: 8729.5705ms
[java]
[java] INFO: transpilation failed with 12 error(s) and 0 warning(s)

BUILD FAILED
C:\SweetHome3DJS\build.xml:94: The following error occurred while executing this line:
C:\SweetHome3DJS\build.xml:37: Java returned: 1

any help?

Posted by pohlmannfrank at Apr 3, 2022, 12:30:24 PM
Re: Installation SweetHome3DJS
I found the mistake. I had jsweet installed with a more recent version of node. After installing node in version 14.6, I have now redeployed jsweet. The war file has now been deployed.