Stephan van Hulst

Saloon Keeper
+ Follow
since Sep 20, 2010
Merit badge: grant badges
For More
Cologne, Germany
Cows and Likes
Cows
Total received
366
In last 30 days
2
Total given
261
Likes
Total received
4021
Received in last 30 days
10
Total given
741
Given in last 30 days
5
Forums and Threads
Scavenger Hunt
Rancher Scavenger Hunt
Ranch Hand Scavenger Hunt
Greenhorn Scavenger Hunt

Recent posts by Stephan van Hulst

Simply creating a folder will not automatically mark it as a resource folder. You have to tell your build tool that a particular folder is a resource folder. I don't know how to do this in Eclipse, unless you're using Maven.

I strongly suggest you always use Maven for your Java projects. It will be much easier for you to get help when issues with your build arise.

If you ARE using Maven, then you should drop your resources in the src/main/resources folder, preferably in a subfolder that reflects the package of the class that will be using the resource.
10 hours ago
The U doesn't refer to a class object. It refers to a type. In this case, it refers to the String type.

U is called a "generic type parameter". It's like a variable, but instead of holding a value like a primitive or object, it holds a type reference.

You can tell that the mapToInt() method has a generic type parameter because it is listed in front of the method, using angular brackets, like this: <U>

So who decides the value of this parameter? Well, just like with an ordinary method parameter, the caller of the method decides what type U stands for.

By calling the method with the method reference FizzBuzz::getStringForNum, you've decided that U refers to String, because mapToObj() expects a function that converts an int to a U, and you've passed it a reference to a method that converts an int to a String.
2 days ago
The error message is a bit misleading. It seems to imply that the code didn't work because there was no SecurityManager installed.

That is not the case. The code didn't work because your application can't find the com.rmi.service.UserInterface class. You need to put it on the classpath of your application. The part about the SecurityManager is just a hint that the application couldn't automatically fix the problem for you by loading the classes using a special RMI class loader.

So the solution is to get rid of the SecurityManager, and make sure that your application can load UserInterface the normal way.
5 days ago
Welcome to CodeRanch!

Why are you setting a security manager? Security managers are deprecated and will be removed from Java at some point.

If you insist on using a security manager, then you need to tell us what you hope to achieve by setting the system's security manager to a new instance.
5 days ago
Sorry, I completely misinterpreted something that I read.

The underlined part in your stack trace quite literally states the problem. Are you missing a dependency on Spring MVC?
1 week ago
Why is your application so tightly coupled to Hibernate in the first place?

You should be removing all Hibernate-specific types from your code, and replace them with the appropriate Jakarta JPA types.
I think you're missing a dependency on spring-security-doc.
1 week ago
Wow. Spring Security 3 is 10 years old. I'd be surprised if that's the only compile time error you'll be getting. I can't even find a migration guide for a version older than Spring Security 5.

If I'm honest, it might be much easier to strip your application from all Spring Security 3 middleware, and rebuild it up from scratch.
1 week ago
Please tell us what framework you are using to produce and consume SOAP messages.
1 week ago
Jakarta EE 10 provides Jakarta Servlet API 6.

Note that you should use JakartaServletDiskFileUpload.
As far as I can tell, you replace
with

And you replace
with

Make sure you import JakartaServletDiskFileUpload from the correct package. It appears there are different classes for when you're using the Jakarta Servlet 5 spec or Jakarta Servlet 6 spec.
Yes, I'll disagree.

HTTP 1.1 is a fairly well engineered protocol that does a lot of things right. I'm not quite sure why you think it's trash, but I'll take this opportunity to point out that getting the job done in the most secure and reliable way involves using HTTP the way it's supposed to.
1 week ago

But calling POST multiple times will may end up creating multiple resources.

2 weeks ago
Sorry, what I meant to say is that it is not secure to send sensitive data with a GET request, regardless of whether the request itself is encrypted.

GET requests don't have a body that is kept confidential. You can only put data in the URL and in request headers, and those have a nasty tendency to end up in browser caches and server access logs.
2 weeks ago


vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |