If you are having sex with a man that is older than you and your parents try to take him to court about it and you said that it was willing and that you wanted to have sex with him but they still took him to court, will he get into any trouble behind this
If you were under the age of 18 and had sex with a man older than you, he violated State law in Virginia and committed a sexual offense against a minor. Anyone under the age of 18 legally can not consent to have sex.
When your parents learned about this, they were legally obligation to report it to police. As parents, if they have knowledge of a crime involving their minor child and do not report the crime to police, they risk losing their parental rights and also can be found in violation of the law.
Once your parents reported him to police, the outcome of his arrest and trial was out of their hands completely. The State of Virginia takes over and the state prosecutor's office investigates and files charges based on the outcome of their investigation. Your parents actually do not have control over what happens once they report it to police. If the prosecutor asks your parents to testify in a trial, they are legally obligated to do so.
If the prosecutor wins his case, the guy will be in trouble and could face a fine and jail time. Without the actual ages of both parties, there's no way to know how much trouble he might be in.