Issue #304

Reverse engineering using "String"

Added by Djawida D almost 5 years ago. Updated 10 days ago.

Status:ResolvedStart date:05 September 2016
Priority:MediumDue date:
Assignee:Christophe Demeulemeester% Done:


Target version:-


Hi, I’m trying a basic example where I create a class with a string attribute. The code generation works well. However when I modify the code (making the attribute public, for example), I get an error message “Type not found: String”. I noticed that in the model the type is written with a small “s”–“string” and in the code with a capital “S”–“String”, but I guess there must be a wrapper to handle this. Could you please help me to fixe that. Note that I’m using the 3.4 version of Modelio. Thanks

AccessibleClasses.png (14.9 KB) Christophe Demeulemeester, 06 September 2016 10:42

JDK.png (38.6 KB) Christophe Demeulemeester, 06 September 2016 10:42

AccessibleClassesCommand.png (34.1 KB) Christophe Demeulemeester, 06 September 2016 10:42


#1 Updated by Christophe Demeulemeester almost 5 years ago


This happens because either the ‘JDK’ parameter value of the Java Designer module is wrong, or if the ‘Accessibles classes’ does not point to the ‘rt.jar’ of the JDK.

To configure the JDK, go to ‘Configuration\Modules\Java Designer\Directories\JDK’ parameters and give your actual JDK path :

To set the ‘rt.jar’ in the ‘Accessibles classes’, select the root package of your project and launch the ‘Java Designer\Configuration\Edit accessible classes’ command :

This will solve your problem.

Best regards, cde.

#2 Updated by muneer ahmed about 1 month ago

Great post full of useful tips! My site is fairly new and I am also having a hard time getting my readers to leave comments. Analytics shows they are coming to the site but I have a feeling “nobody wants to be first”.

#3 Updated by muneer ahmed 27 days ago

Thanks for sharing this interesting blog with us.My pleasure to being here on your blog..I wanna come beck here for new post from your site. gépszállítás Europa-Road Kft.

#4 Updated by muneer ahmed 10 days ago

I like this post,And I figure that they having a great time to peruse this post,they might take a decent site to make an information,thanks for sharing it to me. Dr G?z Péter debreceni ügyvéd

Also available in: Atom PDF