As we all learn in Basic Quantum Mechanics (the first quantization), we promote the classical variables to operators. Say, the classical hamiltonian $\frac{p^2}{2m}+V(x)$ to $-\frac{\hbar^2}{2m}\frac{d^2}{dx^2}+V(x)$, where we have replaced $p$ by $-i\hbar \frac{\partial}{\partial x}$ in coordinate representation. But if the classical Hamiltonian of a conservative system $H = \omega x p$, where $\omega$ is a constant, this method fails as the constructed Hamiltonian of the form $-i\hbar \omega x\frac{\partial}{\partial x}$ is not hermitian.
What is wrong here?