I guess you are missing the point of maven and spring, if you want to code less than 5 minutes and be able to run the code.
Agile doesn't deal with being able to code something quickly and run it. It is being agile to the needs of the customer, or client.
Spring works well with that, as, though DI you can swap modules in and out, so, you can have configuration settings for your development, QA and production environment, and so just change the file and be in a new environment. Spring also makes it easier to keep your levels decoupled, and annotations like @Autowire I found helpful, so I didn't have to do a lot of work to keep the xml config file up-to-date.
Python and Ruby have their uses, but it seems to be more on the server-side, supporting REST, and you may see how well you can work with JRuby, but enterprises will continue to go with frameworks like Spring due to the ease of testing that they give, the stability and maturity of the codebase.
If you have your build environment set up properly then it is easy to deploy to the webserver and see the new changes with one click, or, for a more complicated system you can use subversion, and whenever their is a new checkin the build system runs the unit tests and then deploy the new version.
The thing about Python, Ruby, PHP or any other dynamic solution is that you can make changes and see what happened, but there is nothing to say that you have to test, or that what change you made will have broken any other part of the application.
If you just want to stay in the web application sphere then you may find some work, depending on where you live, with just using dynamic languages.