xmpp server component error - xmpp

I am developing a simple xmpp server component,while I have been stucked by a little error for few days.After searching and trying all the solution,nothing gets improved. Some of the solutions did not work at all,others can not express how to fix it exactly.So helpless am I that I decide to ask this question by myself.
I use the Whack and Tinder as the externalcomponent library,everything works fine except this error cause by this code :ExternalComponentManager mgr = new ExternalComponentManager
That is the error :
Exception in thread "main" java.lang.NoClassDefFoundError: org/xmpp/component/Log
at Main.main(Main.java:10)
Caused by: java.lang.ClassNotFoundException: org.xmpp.component.Log
The instantiation of the ExternalComponentManager require the log class,which shoule be located in the Tinder library,but the tinder library has no more include this class.So ,how to fix this error ,is anything I have miss ? by the way,I have refrence the SVN of the whack and add all the jar files in my project classpath . I hope someone can help me to solve me ,Thanks.

Please use tinder 1.2.2 version. org.xmpp.component.Log has been removed in tinder 1.2.3 version. I had the same issue and downgraded the tinder jar to 1.2.2 which solved it. The whack jar version used is 1.0.0

Related

Maven quarkus project doesn't start anymore after upgrade to 2.7.3 or 2.7.4

After upgrade from 2.7.2 to 2.7.3 or 2.7.4 my quarkus project doesn't start anymore. I get following Exception:
Caused by: java.lang.NoSuchFieldError: ACCESS_CONTROL_ALLOW_PRIVATE_NETWORK
at io.vertx.core.http.HttpHeaders.<clinit>(HttpHeaders.java:106)
at io.vertx.core.http.impl.headers.HeadersMultiMap.<clinit>(HeadersMultiMap.java:63)
at io.quarkus.smallrye.openapi.runtime.OpenApiHandler.<clinit>(OpenApiHandler.java:24)
at io.quarkus.smallrye.openapi.runtime.OpenApiRecorder.handler(OpenApiRecorder.java:35)
Maybe it is releated to the upgrade of open api https://github.com/quarkusio/quarkus/pull/23886
When I disable open api it starts
quarkus.smallrye-openapi.enable=false
Your problem seems to be related to this one, So i believe we have 2 workarounds:
First try using different browser than chrome (if you don't, go directly to second step)
Then, try enabling CORS in your application.properties like following :
quarkus.http.cors=true
My problem was caused by a dependency with an older version of netty.
Updating netty fixed the problem.
https://stackoverflow.com/a/71423882/9651670
Thanks, this answer helped me a lot. I had to force a specific netty version on a previous update for azure/microsoft libs to work. Now they work with default managed version from quarkus and i removed netty-bom from dependencymanagement instead of updating it.

How to fix error caused by userconfig probably by sails?

Im following this tutorial to set up a simple nodejs in docker with the help of sails. So far so good, but I keep getting this one error that it cant start the app because it misses a hook('userconfig'). I cant post the image due to a reputation below 10, so here is the link to it. https://imgur.com/a/wTYr8N8)
The versions i use are:
sails: 1.1.0
sails-mongo: 6.5.0

unable to read repository when installing google plugin for eclipse

when I tried to install Google plugin for eclipse, the installation was always failed with the following error messages.
the first ones:
Unable to connect to repository h**ps://dl.google.com/eclipse/plugin/4.2/content.xml
Unable to connect to repository h**ps://dl.google.com/eclipse/plugin/4.2/content.xml
Connection timed out: connect
I clicked the OK button, after a few minutes, the second ones popped up as follows.
Unable to read repository at h**ps://dl.google.com/eclipse/plugin/4.2/content.xml.
Unable to read repository at h**ps://dl.google.com/eclipse/plugin/4.2/content.xml.
Software caused connection abort: recv failed
Then I clicked the OK button again, the installation stopped and failed.
I totally follow the instruction on Google's official website https://developers.google.com/eclipse/docs/getting_started. The version of Eclipse I used is
Eclipse 3.8/4.2 (Juno), and the direct link of the plugin for Eclipse 3.8/4.2 (Juno) is https://dl.google.com/eclipse/plugin/4.2.
BTW, the goagent was running during I did all the above searching and installation, would this be a problem of the connection failure? Hope it's not, because I need to run goagent otherwise I cannot access to Google's websites...
Could anyone tell me have to fix the problem? Thanks in advance!
PS. ** stands for tt. I made such changes because the body of my question now cannot contain more than two links...

I having trouble with EJB in netbeans

The time I was practicing a java web project on netbeans, but with EJB error while in the process of running the scheme, but there is no solution on the fix, hope you had similar problems guide me fix on,
Here is an image of the error :
![E:\accpTrading\nbproject\build-impl.xml:307: The module has not been deployed.
See the server log for details.][1]
I tried reinstalling the software as well as JDK & SDK, but still did not fix, refer to various forums, these people are lost, today I'm posting on this forum because a friend recommended. hope you help me. for a week I could not work because of this error.
Thank you all!

ASM library: Version incompatibility between GAE and Spring

I'm currently working on a project based on Spring 3.1.2 which needs to run over GAE.
After researching the logs, I think I know why I'm getting a 500 Internal Server Error whenever I need to interact with the App. The problem I'm facing is related with ASM (http://asm.ow2.org/).
It seems like GAE relies on ASM 4.0, while the project runs fine locally if I use ASM 3.1.
However, I found impossible to make it work when ASM 4.0 :(
I'm completely new to Google App Engine, so ... any tip to solve this issue is welcome! (I've already lost the whole morning finding what the problem was and trying too many different ways to solve it ... but no way).
Thank you very much in advance for your suggestions ;)
I found some information about that, try to upgrade your spring version to 3.2 M2. This version support cgilib 3.0 with asm 4.0!
Visit https://jira.springsource.org/browse/SPR-9669