Errors creating plugin class

This topic has been viewed 4391 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]
Post Reply New Topic
User avatar
daytooner
Posts: 6
Joined: Thu Mar 02, 2023 4:10 pm

Errors creating plugin class

Post by daytooner »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Errors creating plugin class

Post by Puybaret »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest