Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Today's Messages (off)  | Unanswered Messages (on)

Forum: Java Development Tools (JDT)
 Topic: Jgoodies no class defined error
Jgoodies no class defined error [message #1865691] Thu, 09 May 2024 07:34
germ yum is currently offline germ yumFriend
Messages: 1
Registered: May 2024
Junior Member
i installed window builder and tried to run a simple program but it didn't compile and threw an error saying - "Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/jgoodies/common/base/Preconditions"


--the code --

package testing;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.LookAndFeel;
import javax.swing.UIManager;

import com.formdev.flatlaf.intellijthemes.FlatArcDarkIJTheme;
import com.formdev.flatlaf.themes.FlatMacDarkLaf;

import java.awt.Font;
import javax.swing.JButton;
import com.jgoodies.forms.layout.FormLayout;
import com.jgoodies.forms.layout.ColumnSpec;
import com.jgoodies.forms.layout.RowSpec;

public class test {

private JFrame frame;

/**
* Launch the application.
*/
public static void main(String[] args) {
EventQueue.invokeLater(new Runnable() {
public void run() {
try {
UIManager.setLookAndFeel(new FlatMacDarkLaf());
test window = new test();
window.frame.setVisible(true);
} catch (Exception e) {
e.printStackTrace();
}
}
});
}

/**
* Create the application.
*/
public test() {
initialize();
}

/**
* Initialize the contents of the frame.
*/
private void initialize() {
frame = new JFrame();
frame.setBounds(100, 100, 675, 516);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
frame.getContentPane().setLayout(new FormLayout(new ColumnSpec[] {
ColumnSpec.decode("72px"),
ColumnSpec.decode("320px"),},
new RowSpec[] {
RowSpec.decode("187px"),
RowSpec.decode("68px"),
RowSpec.decode("76px"),
RowSpec.decode("38px"),}));

JLabel lblNewLabel = new JLabel("Hello world");
lblNewLabel.setFont(new Font("Times New Roman", Font.PLAIN, 22));
frame.getContentPane().add(lblNewLabel, "2, 2, fill, fill");

JButton btnNewButton = new JButton("New button");
frame.getContentPane().add(btnNewButton, "2, 4, fill, fill");
}
}
index.php/fa/44286/0/
index.php/fa/44289/0/
index.php/fa/44292/0/
Forum: Memory Analyzer
 Topic: [ANNOUNCEMENT] The MAT code repository has changed
[ANNOUNCEMENT] The MAT code repository has changed [message #1865685] Wed, 08 May 2024 21:40
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 165
Registered: July 2009
Senior Member
The Memory Analyzer code repository has been moved from the Eclipse Git servers to Github. Following a new practice for Eclipse projects, we got a separate Github organisation (eclipse-mat). Also the MAT website repository was moved. So, now we have:
https://github.com/eclipse-mat/mat - the MAT code repository
https://github.com/eclipse-mat/mat-website - the website repository

While we are happy about the move, it might take some time to update all places pointing to the old repository at Eclipse.
Please bear with us while we do the transition and give us feedback if you see places we've missed to update (may be give us a few days first ;-) )
Forum: Eclipse Sumo
 Topic: Yellow Box Junctions
Yellow Box Junctions [message #1865679] Wed, 08 May 2024 13:21
Kevin O is currently offline Kevin OFriend
Messages: 1
Registered: May 2024
Junior Member
Hi, I am working with a DCC map (Dublin) and notice that vehicles are entering yellow box junctions and getting stuck at red lights, which causes a lot of congestion. Is there any way to prevent cars from entering junctions when there is no clear pathway through? Thanks in advance.
Forum: Papyrus
 Topic: Generate uml from java code in papyrus
Generate uml from java code in papyrus [message #1865673] Wed, 08 May 2024 12:46
jose s sal is currently offline jose s salFriend
Messages: 1
Registered: May 2024
Junior Member

Hello, I'm new to the application and they told me to go from Java code to UML diagram, how to do it.
From uml to java code I have learned.
Forum: PHP Development Tools (PDT)
 Topic: What sparks your creative inspiration?
What sparks your creative inspiration? [message #1865607] Wed, 08 May 2024 05:14
Esafali Takru is currently offline Esafali TakruFriend
Messages: 2
Registered: October 2023
Junior Member
When there are many applicants, even slight bias can affect decisions. Consider a project-based resume due to your diverse experience, and ensure you present your skills clearly.
Forum: Rich Client Platform (RCP)
 Topic: Remote Debugging Eclipse RCP
Remote Debugging Eclipse RCP [message #1865559] Mon, 06 May 2024 17:26
philipp huebner is currently offline philipp huebnerFriend
Messages: 67
Registered: July 2009
Member
Hello together,

Is it possible to remote debug a Eclipse RCP application. I managed to connect remote debugger to a deployed application, but Eclipse does not stop in breakpoints. I use:

Quote:

-Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8989


Thank you
 Topic: Eclipse RCP & Hibernate
Eclipse RCP & Hibernate [message #1865553] Mon, 06 May 2024 16:13
philipp huebner is currently offline philipp huebnerFriend
Messages: 67
Registered: July 2009
Member
Hello together,

We are not able to get hibernate to run in our eclipse rcp application. It works from the IDE, but not in build environment. We get the following error:

Caused by: java.lang.IllegalArgumentException: Not an entity: org.teraport.persistence.dao.mocca.TeraportDao
	at org.hibernate.metamodel.model.domain.internal.JpaMetamodelImpl.entity(JpaMetamodelImpl.java:204)
	at org.hibernate.query.sqm.tree.select.AbstractSqmSelectQuery.from(AbstractSqmSelectQuery.java:237)
	at org.hibernate.query.sqm.tree.select.AbstractSqmSelectQuery.from(AbstractSqmSelectQuery.java:42)
	at org.teraport.persistence.datastorage.hibernate.HibernateStorage$5.doTransaction(Unknown Source)


Hibernate knows this class and the class is annotated. Also annotations are not skiped by javac.The error is annotation related, due to old xml based config works.

We have tried everything Buddy-ClassPath related, but without success. We don't use any persistance.xml or external config files, but configuration code:

    protected void addAllClassesInHierachyAsAnnotated( Configuration configuration ) {
        Set<Class<?>> knownList = HibernateConnectionBuffer.getAllKNownClasses();
        for ( Class<?> currentClass : knownList ) {
            configuration.addAnnotatedClass( currentClass );
        }
    }


All annotated DAO classes lies in one plugin together with the hibernate libs.

Has anybody experience or an hint how to get hibernate annotations to run?


Forum: Eclipse 4
 Topic: LinkHandler
LinkHandler [message #1865454] Fri, 03 May 2024 16:36
Marcel  Rüedi is currently offline Marcel RüediFriend
Messages: 1
Registered: May 2024
Junior Member
Hello,

we'd like to use a linkHandler within our e4 application.
We added the extension point in the plugin xml.

   <extension
         point="org.eclipse.urischeme.uriSchemeHandlers">
      <uriSchemeHandler
            class="com.ourproject.client.link.handler.OurLinkHandler"
            uriScheme="ourscheme"
            uriSchemeDescription="our links">
      </uriSchemeHandler>
   </extension>


and have com.ourproject.client.link.handler.OurLinkHandler implement org.eclipse.urischeme.IUriSchemeHandler.

but it doesn't seem to work. I have registered the app in the windows registry. But the code is never called. Also if I open another link the application is launched again - which is blocked as the application's workspace is locked by the first instance.

What are we missing ?
Forum: Paho
 Topic: One connection of many?
One connection of many? [message #1865445] Fri, 03 May 2024 13:43
Craig Walters is currently offline Craig WaltersFriend
Messages: 1
Registered: May 2024
Junior Member
My Python app that generates MQTT messages has many topics that are generated independently in independent parts of the code (unique classes). Is it best to create a client connection in each class (and therefore one client loop per class) or make one client connection that gets passed around to each class?



Current Time: Thu May 09 11:38:27 GMT 2024

Powered by FUDForum. Page generated in 0.04027 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top