Python imports are case-sensitive. The class is ConfluenceReader (PascalCase). confluencereader in lowercase does not exist in the module. Additionally, llama-index v0.10+ split readers into separate packages — you must pip install llama-index-readers-confluence before the import path works at all.
llama-index v0.10+ uses a monorepo layout — the Confluence reader is a separate package. Install it, then import with the correct PascalCase class name.
pip install llama-index-readers-confluence
from llama_index.readers.confluence import ConfluenceReader
reader = ConfluenceReader(
base_url="https://yoursite.atlassian.net/wiki",
oauth2={"client_id": "...", "token": "..."}
)