Hello, anon. In Hamilton-Jacobi method we transform p and q such as new P and Q become constants. That means that new trajectory of the system in phase space becomes just a dot and its volume is 0. But the phase space volume must conserve. What happens here?