I have a project which has shared functionality between three other projects and have linked these to existing projects as I normally would using the add project functionality of the libraries folder.
This all used to work however when I started up Netbeans yesterday it just wasn't working as in the other projects won't compile even though the…
I'm trying to deploy an ear to JBoss. The application.xml has entries looking like:
<module id="Core_JavaModule">
<java>APP-INF/lib/core.jar</java>
</module>
<module id="Public_WebModule">
<web>
<web-uri>public.war</web-uri>
<context-root>/</context-root>
</web>…
I want to use some third party themes (like synthetica http://www.javasoft.de/synthetica/themes/) in my swing appliaction. i am using eclipse ide, got the jar file of theme and did the following modification(according to the readme file from the theme) in my code
try
{
UIManager.setLookAndFeel(new…
I have a simple GWT project in Eclipse, it has a servlet that calls an EJB and everything works fine when I run it in hosted mode from Eclipse.
MyProject
+- src
+- JRE System Library
+- GWT SDK
+- Apache Geronimo v2.2
+- myEJB.jar
+- openejb.jar
-- war
-- +- images
-- +- myproject
-- +- WEB-INF
I'm not…
Hi every one,
I'm trying to configure seam/ehcache following the tutorial from jboss page:
http://docs.jboss.org/seam/2.1.2/reference/en-US/html/cache.html
I put the ehcache.1.2.3.jar in project.ear/lib and injected CacheProvider as especified, but the CacheProvider always return null. The documentation…
I'm trying to follow the log4j2 configuration tutorials in a SBT 0.12.1 project. Here is my build.sbt:
name := "Logging Test"
version := "0.0"
scalaVersion := "2.9.2"
libraryDependencies ++= Seq(
"org.apache.logging.log4j" % "log4j-api" % "2.0-beta3",
"org.apache.logging.log4j" % "log4j-core" %…
I've got Hudson running on TOMCAT, it can build my Netbeans project using the ant build.xml, but it won't run any of my unit tests because of what I assume is a problem with the classpath:
package org.junit does not exist
[javac] import org.junit.After;
[javac] ^
But I've got…
Hi there, I'm having an issue getting files loaded into an app called GCS, by dragging them onto the executable. GCS can be invoked on Windows with a bat file, which goes like this:
@echo off start javaw -Xmx256M -jar "GURPS Character Sheet.app/Contents/Resources/Java/GCS.jar" %*
If I hard code a…
From the wrapper shell scripts i am calling the Java program. I want the Unix shell script to pass all the arguments to java program except the
EMAIL argument. HOW Can i remove the EMAIL argument and pass the rest of the arguments to the java program. EMAIL argument can come at any position.
…
I've used lwuit in my j2me application and it works well.
When I've converted .jar file to .cod file and install it on BB emulator, I've faced runtime error 104.
Then I got the blackberry demo and lwuit.jar file included with it and when install it on BB it works well. But after I edit the…
Hello!
I have developed a Java aplication that is currently being run by double-clicking on a ".bat" file that does something like "java -jar proy.jar". This application just listens on a port and writes to a database, so it does not have any user interface (such as a window). I need this…
I have a project that I am migrating from ant to maven. The project makes use of a lightly-customized Hive build. I figured I would just import this build into our internal maven repo and list it as a dependency in the project's pom file. The problem I'm running into is that the Hive…
From the wrapper shell scripts i am calling the Java program. I want the Unix shell script to pass all the arguments to java program except the
EMAIL argument. HOW Can i remove the EMAIL argument and pass the rest of the arguments to the java program. EMAIL argument can come at any…
I get a missing artifact error during Maven build because one of the dependencies declares it's parent artifact using a property for the version. Now the property itself is declared in the parent pom and my project's build fails giving this error:
[ERROR] Failed to execute goal on…
How would one go about programatically loading all the resource files in a given directory in a JAR file for an applet? The resources will probably change several times over the lifetime of the program so I don't want to hardcode names in.
Normally I would just traverse the…
I am not too familiar with java / eclipse but I am trying to debug a plugin in TuxGuitar. The plugin is the gtp plugin which allows reading of guitar pro files. I have imported the main project, TuxGuitar, and the TuxGuitar-gtp plugin. I have all build dependencies…
I have a simple Maven2 project with tests written for TestNG. When I say mvn test Maven2 compiles my test, but don't run them. I already checked this page: http://maven.apache.org/general.html#test-property-name. This is not my case.
Anybody can help?
My…
I am running a JSP/Servlet Web application and out of nowhere we experienced some random problems that don't make any sense. I checked the catalina.out file to check the log files, and I noticed it contained some of the following messages
SEVERE:…
I have created a standalone executable JAR program that needs to send private information over a SSL connection.
I was not able to establish the SSL connection using certificates. Was getting this:
javax.net.ssl.SSLHandshakeException:…
I have a Websphere 6.1 EAR that I am trying to deploy and I am currently getting the following message when I add javassist-3.4.GA.jar to the EAR.
Facet version for Enterprise Application project IntegrationEARProject must be 5.0 to…
If I specify a system property multiple times when invoking the JVM which value will I actually get when I retrieve the property? e.g.
java -Dprop=A -Dprop=B -jar my.jar
What will be the result when I call…
I run the code coverage target:
<junit fork="yes" dir="${basedir}" failureProperty="test.failed">
<!--
Note the classpath order: instrumented classes are before the…