Print at Dec 18, 2025, 11:42:09 AM View all posts in this thread on one page
Posted by daytooner at Apr 14, 2023, 1:32:59 AM
Errors creating plugin class
I have followed the instructions here: https://www.sweethome3d.com/pluginDeveloperGuide.jsp to generate a basic plugin. But when I generate the VolumePlugin class, I get the error:

"The type com.eteks.sweethome3d.plugin.Plugin is not accessible"

Here is the code that was generated:

package com.eteks.test;

import com.eteks.sweethome3d.plugin.Plugin;

public class VolumePlugin extends Plugin {
}


Did I miss something?

TIA

ken

Posted by Puybaret at Apr 14, 2023, 2:03:46 PM
Re: Errors creating plugin class
You probably use a compiler compliance level ≥ 9.
Change compiler compliance level to 1.8 in project properties or maybe accept Eclipse's quick fix Add 'requires SweetHome3D' to module-info.java
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator