#s.lookupAsync(mxLookup, Type.MX) => cant find variable MX symbol
35 messages · Page 1 of 1 (latest)
⌛ This post has been reserved for your question.
Hey @devout quartz! Please use
/closeor theClose Postbutton above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
MX does not exist in Type
is from this library
import org.xbill.DNS.lookup.LookupSession;
im fallowing the github example
you imported the wrong Type
you imported java.awt.Window.Type, should've imported org.xbill.DNS.Type
you have both imported
directly use "org.xbill.DNS.Type.MX" instead then
NO LUCK
import org.xbill.DNS.Type.*;
even if i put with all
still get another class location
location: class java.awt.Window.Type
what does the actual line you use Type on look like
.
s.lookupAsync(mxLookup, org.xbill.DNS.Type.MX)
when you have 2 classes with the same name, you cant import them both
for obvious reasons
you're gonna have to be a bit more verbose if that's the case
thanks im developing in java 2 days ago
If you are finished with your post, please close it.
If you are not, please ignore this message.
Note that you will not be able to send further messages here after this post have been closed but you will be able to create new posts.