This topic has been viewed 4393 times and has 1 replies
Thread status:
Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
daytooner
Posts: 6 Joined: Thu Mar 02, 2023 4:10 pm
Post
by daytooner » Fri Apr 14, 2023 1:32 am
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:
Code: Select all
package com.eteks.test;
import com.eteks.sweethome3d.plugin.Plugin;
public class VolumePlugin extends Plugin {
}
Did I miss something?
TIA
ken
Puybaret
Posts: 9440 Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:
Post
by Puybaret » Fri Apr 14, 2023 2:03 pm
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
Users browsing this forum: No registered users and 1 guest