Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 1641 times and has 1 reply Next Thread
daytooner
Newbie
Member's Avatar


Joined: Mar 2, 2023
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
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
[Apr 14, 2023, 1:32:59 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9177
Status: Offline
Reply to this Post  Reply with Quote 
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 developer
[Apr 14, 2023, 2:03:46 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved