Redeclaration of HTTP Methods

Thanks for the assistance, but i got the solution. Actually there were two libraries which conflicting between them about Webserver.h..

Hello mates,

I'm facing an error do anyone have idea about this pls help. Here is the image.

Here, is the list of my all libraries which i'm using..

#include <Adafruit_GFX.h>
#include <RGBmatrixPanelGP.h>
#include <Arduino.h>
#include <AsyncTCP.h>
#include "SPIFFS.h"
#include "FS.h"
#include <ESPAsyncWebServer.h>
#include <Wire.h>
#include "RTClib.h"
#include <time.h>
#include <WiFi.h>
#include "WiFiUdp.h"
#include <NTPClient.h>
#include <AutoConnect.h>
#include <WiFiManager.h>
#include <FreeMonoBold12pt7b.h>
#include <kongtext4pt7b.h>


//objects 
RTC_DS3231 rtc;
DateTime now;
WiFiManager wifiManager;
Preferences preference;
AsyncWebServer server(80);
WiFiUDP ntpUDP;
NTPClient timeClient(ntpUDP, "in.pool.ntp.org", 19800, 60000);

Thanks and Regards..

Please copy the error message from the IDE using the "Copy error message" button and paste it here in code tags

@sudheer474
also please post your entire sketch.
The error "re-declaration" implies some form of double-import of a library which does not handle this properly.
Also including Arduino.h should not be necessary.
Might be that you found this project somewhere and it uses PlatformIO to build but the author has disregarded the Arduino IDE compatibility

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.