No, you can't do this, because you need to have your class in classpath, and WAR file cannot be added to class path as is.
How do I use oozie java action with a war file
Question
I have a java class file inside a regular .war. Is it possible to use this war file with a java action in oozie?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow