eclipse

How to configure hibernate in standalone (Swing) application in eclipse?

允我心安 提交于 2021-02-07 07:36:34
问题 i usually use hibernate with spring in web applications so i use DI and maven for configuration, now i want to use hibernate in desktop/swing application that doesn't use maven or spring, and i was wondering about the following: What jars do i need ? How to configure the hibernate, and how to make a sample query ? please advise, thanks. 回答1: I don't know about Spring, so you will have to update my answer a little if you really want to use it (for instance Spring has its own mechanism for

Eclipse: which files to store in version control for GWT project

被刻印的时光 ゝ 提交于 2021-02-07 07:21:45
问题 I'm working on a GWT project in Eclipse with Mercurial for revision control. Which files should I store under version control? Or, perhaps more succinctly, which files should I not store since they are either part of GWT or are artifacts of the build process? I'm using Eclipse Helios and GWT 2.0.4. This question would apply to any version control system: Mercurial, Subversion (SVN), CVS, etc. 回答1: If your project is located outside your workspace, I would store everything but: the bin or cls

Eclipse: which files to store in version control for GWT project

て烟熏妆下的殇ゞ 提交于 2021-02-07 07:21:31
问题 I'm working on a GWT project in Eclipse with Mercurial for revision control. Which files should I store under version control? Or, perhaps more succinctly, which files should I not store since they are either part of GWT or are artifacts of the build process? I'm using Eclipse Helios and GWT 2.0.4. This question would apply to any version control system: Mercurial, Subversion (SVN), CVS, etc. 回答1: If your project is located outside your workspace, I would store everything but: the bin or cls

LibGDX project can't find assets folder

最后都变了- 提交于 2021-02-07 06:48:20
问题 I have suddenly run into an issue with my build environment and I can't figure out why. I can run my project just fine using gradlew desktop:run however, when I try to run the project from Eclipse using right-click run as desktop application (on the desktop project of course) it suddenly cannot find my pack.atlas file. There is no doubt the file exsts. I have refreshed my eclipse project multiple times and the project runs fine using gradle commandline. It was working fine yesterday. The only

Missing database connections eclipse

感情迁移 提交于 2021-02-07 06:38:17
问题 I am missing MySQL and other connection profiles in eclipse so that JBoss server throws errors. Unable to post image because of reputation ;) I do have only: Generic JDBC HSQLDB Using Eclipse Kepler and jboss eap 6.1 - already established MySQL server on my PC. 回答1: First, if you are going to do any Java web application development on eclipse, please make sure you are using Eclipse IDE for Java EE Developers. This will get most relevant plugins already installed and prevents you from

Eclipse cannot find module even the module path is explicitly provided

≯℡__Kan透↙ 提交于 2021-02-07 06:15:50
问题 I have created a module com.company.ep that is located in the source folder com.company.ep . (Yes, I have removed src from the build path and deleted it!) Inside the source folder, I have a couple of packages as the following: com.company.ep <--- root source folder com.company.ep.main <--- package 1 com.company.ep.model <--- package 2 com.company.ep.view <--- package 3 // ... more packages module-info.java The main class is located in the package com.company.ep.main.Main . In my module-info

Eclipse cannot find module even the module path is explicitly provided

懵懂的女人 提交于 2021-02-07 06:13:01
问题 I have created a module com.company.ep that is located in the source folder com.company.ep . (Yes, I have removed src from the build path and deleted it!) Inside the source folder, I have a couple of packages as the following: com.company.ep <--- root source folder com.company.ep.main <--- package 1 com.company.ep.model <--- package 2 com.company.ep.view <--- package 3 // ... more packages module-info.java The main class is located in the package com.company.ep.main.Main . In my module-info

Eclipse cannot find module even the module path is explicitly provided

六月ゝ 毕业季﹏ 提交于 2021-02-07 06:11:58
问题 I have created a module com.company.ep that is located in the source folder com.company.ep . (Yes, I have removed src from the build path and deleted it!) Inside the source folder, I have a couple of packages as the following: com.company.ep <--- root source folder com.company.ep.main <--- package 1 com.company.ep.model <--- package 2 com.company.ep.view <--- package 3 // ... more packages module-info.java The main class is located in the package com.company.ep.main.Main . In my module-info

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path

爱⌒轻易说出口 提交于 2021-02-07 04:19:23
新建.jsp报错:The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path 解决方案: 1.检查在eclipse中,有没有配置JDK: 2.检查在eclipse中,tomcat有没有配置好: 3.在导入的jar包上,右键Build Path——Configure Build Path...——在如下图操作 我的问题已经解决了: 来源: oschina 链接: https://my.oschina.net/u/4309500/blog/4019445

Execute AutoIt code from Eclipse

ⅰ亾dé卋堺 提交于 2021-02-07 04:10:28
问题 I am doing automation using Selenium WebDriver and want to handle a browser authentication window. I know Selenium does not support this on its own but I am able to using AutoIt. We have to share our code with the client, so can AutoIt code be managed from Eclipse? This is the code: WinWaitActive("Authentication Required", "", "120") If WinExists("Authentication Required") Then Send("username{TAB}") Send("password{Enter}") EndIf Code to run the AutoIt.exe from Eclipse: Runtime.getRuntime()