Questions tagged [jodd]

Jodd is an open-source Java utility library and complete set of micro-frameworks.

Jodd is an open-source Java utility library and set of micro frameworks. Jodd tools enriches JDK with many powerful and feature rich utilities. It helps with everyday task, makes code more robust and reliable. Jodd frameworks is set of lightweight application frameworks, compact yet powerful. Designed following the CoC, DRY and SCS principles, it makes development simple, but not simpler; you get 90% of the features with 10% of usual effort.

Special attention is put into creating reusable and fastest possible code and still keeping it small, under 1.5 MB.

Jodd is free software, released under the terms of the BSD license.

Jodd = tools + ioc + mvc + db + aop + tx + html + json

More details :

68 questions
1
vote
4 answers

Java: using Jodd Jerry - NoClassDefFoundError

I want to use the Jodd library in java because I want to try Jerry out. To do that I've included the library like shown in the answer to this question and used the following code: File file = new File(SystemUtil.getTempDir(),…
deemel
  • 1,006
  • 5
  • 17
  • 34
1
vote
1 answer

How to embed images to the html body of an email using the java library Jodd Email?

At the main page of the Jodd email library http://jodd.org/doc/email.html there is a very specific example on how to use the library to embed an image (and not just simply attach it as a file) to an email you are about to send. Unfortunately the…
George Pligoropoulos
  • 2,919
  • 3
  • 33
  • 65
0
votes
1 answer

How it is possible to use jodd.http.HttpRequest to load a page content that is generated by javascript?

I try to load a page content with: HttpResponse response2 = HttpRequest.get(_PAGE_URL).cookies(response.cookies()).send(); In a browser, the page source is full of javascript to generate the DOM, but in the Web Inspector of the browser I can see…
papgyo
  • 87
  • 4
0
votes
1 answer

The connectionTimeout seems not work after setting the proxy in jodd-http(6.0.2)

Here is my code import jodd.http.*; import jodd.http.net.*; public class JoddQuestion { public static void main(String[] args) { SocketHttpConnectionProvider connectionProvider = new SocketHttpConnectionProvider(); ProxyInfo…
jqian1997
  • 3
  • 1
0
votes
1 answer

Exception in thread "main" java.lang.ClassCastException: class [B cannot be cast to class [C ([B and [C are in module java.base of loader 'bootstrap')

I am trying to run my java project from cmd and taking back this error: **Exception in thread "main" java.lang.ClassCastException: class [B cannot be cast to class [C ([B and [C are in module java.base of loader 'bootstrap') at…
swolf
  • 33
  • 1
  • 7
0
votes
0 answers

Can i watch for file/folder rename events?

Trying to implement watch file/folder events like (CREATE, DELETE, MODIFY, RENAME) with java 8 to java 11 versions for multiple platforms like windows/unix/linux with java nio package Observed CREATE/DELETE/MODIFY works fine. Trying to sort out how…
0
votes
1 answer

JODD json configuration in spring project

My question is simple . MappingJackson2HttpMessageConverter is available in spring for data serialization from any rest service to client. Now I am working on another project and it has recommendation to use JODD json. I am confused how to…
Sam....
  • 165
  • 2
  • 19
0
votes
1 answer

Which version of jodd-http is supported on jre 7?

The current version 5.0.12, I believe, is built for Java 9. Which is the last version of jodd-http to be supported for java 7?
Deepak Marur
  • 537
  • 1
  • 13
  • 27
0
votes
1 answer

Using Jodd HTTP library behind proxy

I have just been handed a groovy project that is using the Jodd library (I have little experience with this). I am looking to find out how you setup configuration so that http and https calls can be made behind a company proxy. At the moment a…
Richlewis
  • 15,070
  • 37
  • 122
  • 283
0
votes
1 answer

JODD Message parsing failed; <--- java.lang.NullPointerException

I'm using Jodd version 3.9 and I would like to read an outlook account (Microsoft Exchange). ] int port = 993; ImapSslServer imapServer = new ImapSslServer("mail.myhost.it", port, "authuser", "authpass"); …
afterbit
  • 383
  • 7
  • 20
0
votes
1 answer

Why does this code throw exception - Comparison method violates its general contract

I am using the following code that is throwing a IllegalArgumentException : // Copyright (c) 2003-2014, Jodd Team (jodd.org). All Rights Reserved. package jodd.util; import java.util.Comparator; /** * Compares two strings in natural,…
TheHost
  • 15
  • 8
0
votes
1 answer

jodd exmple error: Please provide ConnectionProvider implementation

i see the Jodd in 30 minutes and download the example. but when i run the project, tomcat console 806 [ERROR] j.j.c.DefaultAppCore.start:278 - java.lang.UnsupportedOperationException: Please provide ConnectionProvider…
Yifan
  • 1,185
  • 12
  • 18
0
votes
1 answer

Using jodd Java framework in netbeans web application project

I'm currently following the jodd example from jodd website, instead of using gradle I'm creating a web application project in netbeans and adding required jodd jars this the project. The reason I'm using this approach is that I can't open the…
Vuzi
  • 185
  • 2
  • 4
  • 13
0
votes
1 answer

Is it possible bean mapping to resultset as apache dbutils in jodd?

I'm using the jodd framework and it provides lots of utility with dboom. My question is, can I do simple pojo mapping to a result set like ResultSetHandler by apache dbutils with the jodd dboom module? sql query : select child.id as id, child.name…
Kirtan Patel
  • 158
  • 1
  • 11
0
votes
2 answers

java.lang.NoSuchMethodError: jodd.Jodd.init(Ljava/lang/Class;)V

I am trying to use the Jodd-http version 3.6.6 library in a simple application. The application runs fine on a test machine which has java 1.8 installed but when I try to run the same application on another machine with java 1.7 it throws this…
Fanooos
  • 2,718
  • 5
  • 31
  • 55