we want to build com.ibm.ws.runtime.jar.
and we met error:
java: package com.ibm.ws390.recoverylog.spi not exists.
but we dont know such classes in which jar .
com.ibm.ejs.perf.*,com.ibm.ws390.recoverylog.* .
we have unziped all jars in was ,rad,and ibm bpm ,but can not find them.
so can u tell us the jar names which contains such classes ?
or can you offer us the jars ?
thank you in advance .
error :
java: package com.ibm.ws390.recoverylog.spi not exists.
You can't build the runtime.jar for WebSphere, your license entitles you to install and use it, not reverse engineer and rebuild it.
Related
I'm trying to build a CoAP server in android, and i's using californium's example.
https://github.com/curioustechizen/Californium/tree/4ace5b85974a0646aaaa6ab43c9314d1c5a438e1
But I got error with Http.java in package ch.ethz.inf.vs.californium.layers
it shows
The type org.apache.http.entity.ContentType cannot be resolved. It is indirectly referenced from required .class files
I'm thinking the problem is about the wrong .jar file
the library I imported is like this:
apache-mimne4j.core-0.7.2.jar californium-0.18.7-final.jar
commons-codec-1.6.jar commons-io-2.4.jar commons-logging-1.1.1.jar
google-http-client-1.10.3-beta.jar google-oauth-client-1.10.1-beta.jar
gson-2.1.jar guava-11.0.1.jar httpclient-4.2.1.jar
httpclient-4.3.2.jar httpcore-nio-4.2.1.jar jsr305-1.3.9.jar
junit-3.8.1.jar junit-4.8.1.jar mockito-core-1.8.5.jar
hope anyone can tell me whats the problem or how to fix it, and also ask to some open source about CoAP's android example.
I think you are missing a http-components jar there.
Do you use maven?
Please note: your fork is too old (2 years).
You can find the actual Californium version at https://eclipse.org/californium/
It does not have android support but I see your fork only removes a lot of files and adds an android manifest at most - so it could be done too.
I have a little problem in Eclipse with a package . The error output is Package (name of package ) does not exist .
I have a package called de.baimos.blueid.lockserver.demo.exec . But Eclipse is looking for a package called de.baimos.blueid.lockserver.api.exec . This package is can be found in my Project nowhere .
My current situation is this: I have two projects that work as a project. Now you can in Eclipse under Properties - Add a project to a different > Project -> Java Build Path . But if I want to run Maven install I get the error above. At first I thought it would be in the pom.xml file . But I noticed that it is not possible to merge two pom.xml files. My project was to make the inheritance , however, by themselves , whom I put them together leads . Did anyone of you ever such a problem , or can someone help me ?
Thanks in advance for your help .
That is the error:
[ERROR] /home/test/workspace/HeartbeatService/src/main/java/de/baimos/blueid/lockserver/demo/exec/DemoCommandExecutionEventListener.java:[3,44] error: package de.baimos.blueid.lockserver.api.event does not exist
[ERROR] /home/test/workspace/HeartbeatService/src/main/java/de/baimos/blueid/lockserver/demo/exec/DemoCommandExecutionEventListener.java:[4,44] error: package de.baimos.blueid.lockserver.api.event does not exist
[ERROR] /home/test/workspace/HeartbeatService/src/main/java/de/baimos/blueid/lockserver/demo/exec/DemoCommandExecutionEventListener.java:[5,44] error: package de.baimos.blueid.lockserver.api.event does not exist
[ERROR] /home/test/workspace/HeartbeatService/src/main/java/de/baimos/blueid/lockserver/demo/exec/DemoCommandExecutionEventListener.java:[6,44] error: package de.baimos.blueid.lockserver.api.event does not exist
[ERROR] /home/test/workspace/HeartbeatService/src/main/java/de/baimos/blueid/lockserver/demo/exec/DemoCommandExecutionEventListener.java:[8,59] error: cannot find symbol
Maven can't see what you specify in Eclipse's Java Build Path; it's a command line tool that runs outside / without Eclipse.
Instead, you have to do mvn install in the first project.
Then you can add a dependency to this project in the second project's POM.
Maven will then make sure that Eclipse add the first project to the classpath as well without manually changing the build path in the UI.
In my program, I am trying to import below classes but there comes a compile time error for this. Am I missing any jar there ? If yes, then which jar I am missing. Please help me.
"import net.java.util.TagValue;"
I am writing this in eclipse
A simple search on the net shows that net.java.util.TagValue class belongs to fixparser library. Make sure that this library is in your classpath when working on your project.
I'm trying to run some sample but I cannot find this class:
org.alfresco.web.scripts.*
Could you help me to find JARs for Java-backed web scripts? I downloaded the Alfresco SDK but I can't find it on alfresco-web-client-3.4.b.jar
It's really freaking me out! Thanks for your time!
Andrea
Hi I guess you need the new package since 3.3 : org.springframework.extensions.webscripts.*
Take a look at this Wiki and you will see that the package you're referring to is no longer being used.
The org.alfresco.repo.web.scripts package is in the Remote API jar, eg alfresco-remote-api-4.0.a.jar .
That's not the package you asked about (it's org.alfresco.repo.web.scripts rather than org.alfresco.web.scripts) but I think it's the one you want, as I can't spot the latter in the codebase from a quick check...
Hi I am getting the error taskdef A class needed by class org.apache.jasper.JspC cannot be found: Could not initialize class org.apache.jasper.JspC when I tried to build the build.xml file. can anyone please give me a solution. Thanks in advance
I added the following to my ant classpath:
/usr/local/apache-tomcat-7/bin/tomcat-juli.jar
I had this problem too, but it was a long time ago and unfortunately my memory has become quite foggy on the subject.
As I recall, you need to start ANT with the -lib command line switch and have it point to some jar files that are needed by Jasper's JSP compiler. Again, I don't remember exactly which ones, but I think the JDK's tools.jar was one of them, as well as all the jars with jasper in the names, and commons-logging.jar and commons-el.jar. You'll have to do some experimenting :).
Do you have the required Jasper libraries in your classpath?
That is a relatively high level exception. If you would like to know more detail about what is missing from your classpath, you can run ant with the -verbose flag on the commandline.
It would be good to see the build.xml that you are using. Apache has put an example out here, which sounds similar to what you are using. If so, it requires that you specify some vars.
For this example Apache suggests:
The following command line can be used to run the script (replacing the tokens with the Tomcat base path and the path to the webapp which should be precompiled):
$ANT_HOME/bin/ant -Dtomcat.home=<$TOMCAT_HOME> -Dwebapp.path=<$WEBAPP_PATH>
If you are getting this error in eclipse "taskdef A class needed by class org.apache.jasper.JspC cannot be found: Could not initialize class org.apache.jasper.JspC",
jasper-compiler.jar consists of "org.apache.jasper.JspC", so please copy the commons-collections.jar in the same dirctory.
jasper-compiler.jar will be in C:\jboss-4.0.2\server\default\deploy\jbossweb-tomcat55.sar.
Hope it will resolve the issue.