Jfxtextfield is not a Valid type. Error launching application in Javafx

Asked

Viewed 95 times

1

I’m using a Javafx lib for styling, and one of the stylizations I’m using is Jfxtextfield, however, when compiling the application, I come across this error:

Jfxtextfield is not a Valid type

What is the solution? Grateful.

  • 3

    This is a build error. Are you using Jfoenix? If yes, you have put the import com.jfoenix.controls.JFXTextField;?

  • Good evening Victor, that’s right, I’m using Jfoenix, and really this was the problem, despite having downloaded the . jar, I needed to perform this import, Thank you!!.

  • @Victorstafusa I think you could publish an answer to that question, since your comment solved the problem.

  • @Fagnerfonseca Feito.

1 answer

2

Apparently, you’re using the Jfoenix.

This is a build error. You forgot to put this:

import com.jfoenix.controls.JFXTextField;

Browser other questions tagged

You are not signed in. Login or sign up in order to post.